mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update caddy.txt
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
:81 {
|
:8099 {
|
||||||
@proxied path /api/* /docs /openapi.json
|
@proxied path /api/* /docs /openapi.json
|
||||||
|
|
||||||
@static {
|
@static {
|
||||||
@@ -19,14 +19,12 @@
|
|||||||
|
|
||||||
handle @proxied {
|
handle @proxied {
|
||||||
uri strip_suffix /
|
uri strip_suffix /
|
||||||
header X-Frame-Options "SAMEORIGIN"
|
|
||||||
reverse_proxy http://127.0.0.1:9000
|
reverse_proxy http://127.0.0.1:9000
|
||||||
}
|
}
|
||||||
|
|
||||||
handle {
|
handle {
|
||||||
header @static Cache-Control max-age=31536000
|
header @static Cache-Control max-age=31536000
|
||||||
root * /app/dist
|
root * /app/dist
|
||||||
header X-Frame-Options "SAMEORIGIN"
|
|
||||||
try_files {path}.html {path} /
|
try_files {path}.html {path} /
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user