Update caddy.txt

This commit is contained in:
Alexandre
2021-07-28 22:21:00 +02:00
committed by GitHub
parent 62f01a243c
commit a7da584d8a

View File

@@ -18,11 +18,13 @@
} }
handle @proxied { handle @proxied {
header X-Frame-Options "SAMEORIGIN"
uri strip_suffix / uri strip_suffix /
reverse_proxy http://127.0.0.1:9000 reverse_proxy http://127.0.0.1:9000
} }
handle { handle {
header X-Frame-Options "SAMEORIGIN"
header @static Cache-Control max-age=31536000 header @static Cache-Control max-age=31536000
root * /app/dist root * /app/dist
try_files {path}.html {path} / try_files {path}.html {path} /