From e04786ef0db3bbf30708314d83966251d8179bc2 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 24 Aug 2022 17:40:01 -0400 Subject: cache --- cyfraeviolae.conf | 5 +++++ 1 file changed, 5 insertions(+) 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/; } -- cgit v1.2.3