Fix Caddyfile syntax error in rewrite_early directive
This commit is contained in:
parent
4baeaed265
commit
ece40fe707
2
start.sh
2
start.sh
@ -230,7 +230,7 @@ cat > /app/data/caddy/Caddyfile <<EOT
|
|||||||
}
|
}
|
||||||
header Content-Type "text/html; charset=utf-8"
|
header Content-Type "text/html; charset=utf-8"
|
||||||
replace_response_headers Content-Length ""
|
replace_response_headers Content-Length ""
|
||||||
rewrite_early * {
|
rewrite_early {
|
||||||
# This injects the script into the head section of any index.html
|
# This injects the script into the head section of any index.html
|
||||||
r </head> <script>window.ENTE_CONFIG = { API_URL: "${CLOUDRON_APP_ORIGIN}/api" };</script></head>
|
r </head> <script>window.ENTE_CONFIG = { API_URL: "${CLOUDRON_APP_ORIGIN}/api" };</script></head>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user