summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cyfraeviolae.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf
index 9db3e93..a316753 100644
--- a/cyfraeviolae.conf
+++ b/cyfraeviolae.conf
@@ -1,6 +1,11 @@
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/;
}