diff options
Diffstat (limited to 'roles/lists/files')
-rw-r--r-- | roles/lists/files/etc/nginx/sites-available/sympa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lists/files/etc/nginx/sites-available/sympa b/roles/lists/files/etc/nginx/sites-available/sympa index 4cfc11b..89d79f3 100644 --- a/roles/lists/files/etc/nginx/sites-available/sympa +++ b/roles/lists/files/etc/nginx/sites-available/sympa @@ -49,9 +49,9 @@ server { return 302 /sympa$args; } - location ^~ /static-sympa/ { alias /usr/share/sympa/static_content/; } - location ^~ /css-sympa/ { alias /var/lib/sympa/css/; } - location ^~ /pictures-sympa/ { alias /var/lib/sympa/pictures; } + location ^~ /static-sympa/ { expires 30d; try_files $uri =404; alias /usr/share/sympa/static_content/; } + location ^~ /css-sympa/ { expires 30d; try_files $uri =404; alias /var/lib/sympa/css/; } + location ^~ /pictures-sympa/ { expires 30d; try_files $uri =404; alias /var/lib/sympa/pictures; } location ~* ^/sympa(?:/|$) { gzip off; # protect against BREACH |