buildable docker compose
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
# Map ISO timestamp to date-only string for daily log rotation
|
||||
map $time_iso8601 $log_date {
|
||||
~^(?<date>\d{4}-\d{2}-\d{2}) $date;
|
||||
"~^(?<date>\d{4}-\d{2}-\d{2})" $date;
|
||||
default "unknown";
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ server {
|
||||
|
||||
# Proxy API calls to the backend service
|
||||
location /api/ {
|
||||
proxy_pass ${API_UPSTREAM};
|
||||
proxy_pass __API_UPSTREAM__;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Origin $http_origin;
|
||||
proxy_set_header Referer $http_referer;
|
||||
|
||||
Reference in New Issue
Block a user