new config for bayarea

This commit is contained in:
Andreas Knuth 2025-02-21 11:14:20 -06:00
parent a57b73fcc5
commit aecccbb023
1 changed files with 10 additions and 4 deletions

View File

@ -18,8 +18,15 @@ bayarea-cc.com, www.bayarea-cc.com {
}
# Statische Dateien aus dem Angular Build-Verzeichnis
# root * /app
# file_server
# Fallback für Angular SPA Routing
# try_files {path} /index.html
handle {
root * /app
try_files {path} {path}/ /index.html
file_server
}
# Reverse Proxy für API-Anfragen an Nest.js
@api {
@ -30,8 +37,7 @@ bayarea-cc.com, www.bayarea-cc.com {
header_up X-Real-IP {remote_host}
}
# Fallback für Angular SPA Routing
try_files {path} /index.html
# Logging (optional)
log {