Skip to content
Snippets Groups Projects
Unverified Commit c96e8b91 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

nginx: move fastcgi cache to /var/lib/nginx

parent 24091c52
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,9 @@
when: maintenance is not defined
tags: ['nginx']
- name: remove old fastcgi cache directory
file: path=/etc/nginx/wikicache state=absent
- name: configure robots.txt
copy: src=robots.txt dest="{{ archwiki_dir }}/robots.txt" owner=root group=root mode=0644
......
fastcgi_cache_path /etc/nginx/wikicache levels=1:2 keys_zone=wiki:100m inactive=60m;
fastcgi_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=wiki:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
upstream archwiki {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment