Commit ed699a607234b97fe3fb123db152b356715515bb

Authored by Antonio Terceiro
1 parent c908f90c

Fix gitlab redirects

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
cookbooks/gitlab/templates/nginx.conf.erb
... ... @@ -24,7 +24,7 @@ server {
24 24 proxy_read_timeout 90;
25 25 proxy_connect_timeout 90;
26 26 proxy_redirect off;
27   - proxy_set_header Host $host;
  27 + proxy_set_header Host $host:$server_port;
28 28 proxy_set_header X-Real-IP $remote_addr;
29 29 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
30 30 }
... ...