Update caddy.txt

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

View File

@@ -1,5 +1,5 @@
:81 {
:8099 {
@proxied path /api/* /docs /openapi.json
@static {
@@ -19,14 +19,12 @@
handle @proxied {
uri strip_suffix /
header X-Frame-Options "SAMEORIGIN"
reverse_proxy http://127.0.0.1:9000
}
handle {
header @static Cache-Control max-age=31536000
root * /app/dist
header X-Frame-Options "SAMEORIGIN"
try_files {path}.html {path} /
file_server
}