fghfgh
This commit is contained in:
parent
08657e7282
commit
5533fbff14
|
|
@ -242,16 +242,22 @@ email-srvr.com {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
annavillesda.org {
|
annavillesda.org {
|
||||||
reverse_proxy /api/* host.docker.internal:3070
|
# API requests to backend
|
||||||
|
handle /api/* {
|
||||||
|
reverse_proxy host.docker.internal:3070
|
||||||
|
}
|
||||||
|
|
||||||
|
# Frontend static files
|
||||||
handle {
|
handle {
|
||||||
root * /home/aknuth/git/annaville-sda-site/dist # Neuer Prod-Dist-Ordner
|
root * /home/aknuth/git/annaville-sda-site/dist
|
||||||
try_files {path} {path}/ /index.html
|
try_files {path} {path}/ /index.html
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
log {
|
log {
|
||||||
output file /var/log/caddy/access.prod.log # Separate Logs
|
output file /var/log/caddy/access.prod.log
|
||||||
}
|
}
|
||||||
|
|
||||||
encode gzip
|
encode gzip
|
||||||
}
|
}
|
||||||
www.annavillesda.org {
|
www.annavillesda.org {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue