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
|
# 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
|
root * /app
|
||||||
|
try_files {path} {path}/ /index.html
|
||||||
file_server
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
# Reverse Proxy für API-Anfragen an Nest.js
|
# Reverse Proxy für API-Anfragen an Nest.js
|
||||||
@api {
|
@api {
|
||||||
|
|
@ -30,8 +37,7 @@ bayarea-cc.com, www.bayarea-cc.com {
|
||||||
header_up X-Real-IP {remote_host}
|
header_up X-Real-IP {remote_host}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Fallback für Angular SPA Routing
|
|
||||||
try_files {path} /index.html
|
|
||||||
|
|
||||||
# Logging (optional)
|
# Logging (optional)
|
||||||
log {
|
log {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue