diff options
author | cyfraeviolae <cyfraeviolae> | 2022-08-24 17:40:01 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-08-24 17:44:39 -0400 |
commit | 0f88f37bcb1f0d7fdbde7a805b88fc958eb9c986 (patch) | |
tree | 1d95965f5b2f11cac07015d2216be27e3951c305 | |
parent | 5146c57460f20087d5d22755fb6fb16517453eca (diff) |
cache
-rw-r--r-- | cyfraeviolae.conf | 5 |
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/; } |