Gitlab基本网址

时间:2014-05-21 09:24:19

标签: http nginx https config gitlab

我在Apache HTTPD SSL代理后面运行Gitlab 因此,Gitlab正在http://example.com:80上运行,而我的代理正在https://example.com:443提供此服务。 目前,当我请求密码重置电子邮件时,他们会提供指向http://example.com而不是https://example.com

的链接

有人知道如何在仍然通过http运行gitlab实例的同时将基本URL更改为https://example.com吗?

谢谢,

亚当

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)

现在可以了。 请参阅:https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl

设置nginx['listen_https'] = false应该可以解决问题。

相关问题