-
- Downloads
nginx: move the fastcgi cache configuration to the archwiki role
This is much cleaner because the nginx role does not have to set the fastcgi_cache variable to "false" by default, which was overridden by host_vars/apollo.archlinux.org to "wiki", but the value was still hardcoded in the config. At first, I was wondering that the cache "zone" name should be generalized to improve the configuration (from the original per-host to per-service), but that would be an overkill since the fastcgi cache is used only for the wiki...
parent
b4c97002
No related branches found
No related tags found
Showing
- host_vars/apollo.archlinux.org 0 additions, 2 deletionshost_vars/apollo.archlinux.org
- roles/archwiki/templates/nginx.d.conf.j2 3 additions, 0 deletionsroles/archwiki/templates/nginx.d.conf.j2
- roles/nginx/defaults/main.yml 0 additions, 1 deletionroles/nginx/defaults/main.yml
- roles/nginx/templates/nginx.conf.j2 0 additions, 5 deletionsroles/nginx/templates/nginx.conf.j2
Please register or sign in to comment