Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4294

Closed
Open
Created Jun 12, 2013 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking