usegalaxy-playbook icon indicating copy to clipboard operation
usegalaxy-playbook copied to clipboard

cache big and almost static API endpoints in nginx

Open martenson opened this issue 6 years ago • 5 comments

per @mvdbeek configuration mentioned here

cc @natefoo

martenson avatar Jun 07 '19 15:06 martenson

Looks like the same cache options exist for the uwsgi module: https://nginx.org/en/docs/http/ngx_http_uwsgi_module.html

natefoo avatar Jun 11 '19 13:06 natefoo

@natefoo what do you think is a better option for these endpoints?

martenson avatar Jun 11 '19 17:06 martenson

I guess it depends how you proxy, the config here is for a cloud instance that tunnels requests via ssh to another nginx instance.

mvdbeek avatar Jun 11 '19 17:06 mvdbeek

@martenson not sure I understand.

natefoo avatar Jun 11 '19 18:06 natefoo

oh it is the nginx uwsgi module you linked, I thought it is an uwsgi module for caching :)

martenson avatar Jun 11 '19 18:06 martenson