ruby - How do I specify the host for links in mail notifications in Gitlab? -
i have gitlab running behind proxy, gitlab running on port 3000 not accessible outside.
mail notifications generated gitlab contain urls port 3000 in them, can configure gitlab generate links accessible outside?
i found gitlab email setup not have email:host: or in gitlab.yml
i'm running gitlab 5.2.0 right now.
edit: appreciate link info config options in gitlab.yml...
the setting indeed in gitlab/config/gitlab.yml, isn't clear anymore (config names , comments changed in gitlab 5.0 think).
the section ## web server settings used generate links in emails. settings referring emails email_from: , support_email: host:, port: , https: used links in emails.
the actual ip , port settings can found in puma.rb config file why confident enough tinker around gitlab.yml settings , worked.
solution problem: comment production:gitlab:port: setting or change external port.
Comments
Post a Comment