I'm running the gitlab omnibus edition on port 4000 behind an firewall, so 
I've configured apache to proxy request to gitlab from gitlab.domain.com. . 
 There are many additional busy web services running on apache on the same 
server which makes it difficult to take the server down to test 
configuration changes.  

The links in email notification of merge requests in 
/opt/gitlab/embedded/service/gitlab-rails/app/views/layouts/notify.html.haml 
contain the port, e.g. gitlab.domain.com:4000 which don't work because of 
the firewall, if you remove the port from the links, apache proxies them 
just fine. 

This link appears to pull from the webserver setting in gitlab.yml, but I 
can't easily change that file in the omnibus version

Is there a setting in gitlab.rb such as external_url or external_port that 
will allow me to change the target_url in the links without also changing 
the port gitlab is running on?  

I'll be able to schedule downtime for this host soon to test, but any 
pointer on how best to fix things links would be much appreciated. 

Thanks! 
Ben 


-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/4762b7ef-7164-4bcf-8c31-d8e538ba6192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to