Fix caddy generation script
This commit is contained in:
parent
7ba16af7dc
commit
240ce28692
1 changed files with 6 additions and 4 deletions
|
|
@ -173,10 +173,6 @@ cat > Caddyfile << EOF
|
|||
# Generated by setup-prod.sh on $(date)
|
||||
|
||||
${KABOOT_DOMAIN} {
|
||||
root * /srv/frontend
|
||||
file_server
|
||||
try_files {path} /index.html
|
||||
|
||||
handle /api/* {
|
||||
reverse_proxy kaboot-backend:3001
|
||||
}
|
||||
|
|
@ -184,6 +180,12 @@ ${KABOOT_DOMAIN} {
|
|||
handle /health {
|
||||
reverse_proxy kaboot-backend:3001
|
||||
}
|
||||
|
||||
handle {
|
||||
root * /srv/frontend
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
}
|
||||
}
|
||||
|
||||
${AUTH_DOMAIN} {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue