Gitlab配置HTTPS1234567891011121314# 配置urlexternal_url "https://gitlab.xiaowangc.local"# 关闭自动续订证书letsencrypt['enable'] = false# 重定向80->443nginx['redirect_http_to_https'] = true# 证书私钥配置nginx['ssl_certificate'] = "/mnt/gitlab/ssl/gitlab.crt"nginx['ssl_certificate_key'] = "/mnt/gitlab/ssl/gitlab.key"# 开启HTTP2.0,默认开启nginx['http2_enabled'] = true# 开启HSTSnginx['hsts_max_age'] = 63072000nginx['hsts_include_subdomains'] = false