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