functional deployment without SSO for trade-hub

This commit is contained in:
2026-11-13 14:37:47 -07:00
parent 2b72f23ea9
commit f17cf9604e
8 changed files with 71 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
server {
listen 80;
listen 8071;
server_name _;
gzip on;
@@ -14,7 +14,7 @@ server {
location /api/ {
proxy_pass http://backend:8000;
# $http_host keeps the client's port, which the backend's Origin check
# compares against; $host would drop ":8080" and reject real browsers.
# compares against; $host would drop the port and reject real browsers.
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;