Commit 15743b8e777dd688b0a5384f20c0954292aaeded

Authored by Thiago Ribeiro
2 parents b21f0bbf 329a5442

Merge branch 'fix_gitlab_links' into 'master'

Fix gitlab links

This commit closes
https://beta.softwarepublico.gov.br/gitlab/softwarepublico/colab/issues/42
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:$server_port;
  27 + proxy_set_header Host <%= node['config']['external_hostname'] %>;
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 }
... ...