summaryrefslogtreecommitdiff
path: root/cyfraeviolae.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cyfraeviolae.conf')
-rw-r--r--cyfraeviolae.conf9
1 files changed, 4 insertions, 5 deletions
diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf
index a316753..db4fac7 100644
--- a/cyfraeviolae.conf
+++ b/cyfraeviolae.conf
@@ -1,11 +1,6 @@
server {
server_name cyfraeviolae.org;
- location ~* \.(?:css|js|html|ico)$ {
- expires 1h;
- add_header Cache-Control "public";
- }
-
location /forbidden-salamanders {
proxy_pass http://127.0.0.1:9010/;
}
@@ -50,11 +45,15 @@ server {
location / {
root /srv/cyfraeviolae;
+ expires 1h;
+ add_header Cache-Control "public";
}
error_page 404 /404.html;
location = /404.html {
root /srv/cyfraeviolae;
+ expires 1h;
+ add_header Cache-Control "public";
}
listen 443 ssl; # managed by Certbot