Skip to content

Commit

Permalink
[fixes GeoNode#11734] standing up docker compose stack on a port diff…
Browse files Browse the repository at this point in the history
…erent than 80

This preserves port information, which is useful for having correct links being generated by the GeoNode API
  • Loading branch information
ricardogsilva committed Nov 29, 2023
1 parent 7cac111 commit 1316622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker/nginx/geonode.conf.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ location / {
add_header Access-Control-Allow-Methods "GET, POST, PUT, PATCH, OPTIONS";

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header Origin $HTTP_SCHEME://$host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $server_name;
Expand Down

0 comments on commit 1316622

Please sign in to comment.