Links in merge request notifications are incorrect on certain setups
Created by: petr-k
I have GitLab (current master) running with Apache within a virtual server named "gitlab". The actual machine hostname is different though (let's say "servername"). We have a DNS alias set up so that connections to "gitlab" are directed to "servername" 's IP address.
Everything works fine except link URLs in certain mail notifications, namely the accepted merge request notification. The link to the particular merge request is incorrect, pointing to http://servername/.... instead of http://gitlab/.... I should add that links in other notifications, for example the new project notification, are correct. Links everywhere in the UI are correct as well, push/pull over both HTTP and SSH works fine, so I think my config is OK.
I tried to set the config.action_mailer.default_url_options appropriately (as per issue #3171 (closed)) to no avail.
All checks are green.