new config for bayarea
This commit is contained in:
parent
a57b73fcc5
commit
aecccbb023
|
|
@ -18,8 +18,15 @@ bayarea-cc.com, www.bayarea-cc.com {
|
|||
}
|
||||
|
||||
# Statische Dateien aus dem Angular Build-Verzeichnis
|
||||
root * /app
|
||||
file_server
|
||||
# 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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue