Commit 51a6f67ddedef1d3d27c8ef7925d266098a429ce

Authored by Rafael Reggiani Manzo
1 parent b7362077

Fix Prezento NGINX proxy headers

In order to correctly redirect the proxy needs to add the port along
with the host address.
cookbooks/mezuro/templates/prezento/nginx.conf.erb
... ... @@ -27,7 +27,7 @@ server {
27 27 proxy_read_timeout 90;
28 28 proxy_connect_timeout 90;
29 29 proxy_redirect off;
30   - proxy_set_header Host $host;
  30 + proxy_set_header Host $host:$server_port;
31 31 proxy_set_header X-Real-IP $remote_addr;
32 32 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
33 33 }
... ...