mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-03 20:48:46 +02:00
Update caddy.txt
This commit is contained in:
@@ -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} /
|
||||||
|
|||||||
Reference in New Issue
Block a user