diff options
author | cyfraeviolae <cyfraeviolae> | 2022-08-24 17:40:01 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-08-24 17:40:01 -0400 |
commit | e04786ef0db3bbf30708314d83966251d8179bc2 (patch) | |
tree | 1d95965f5b2f11cac07015d2216be27e3951c305 | |
parent | 04c8a191129aa7538a3b1d5562e810e3ae8bda14 (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/; } |