functional deployment without SSO for trade-hub
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user