【问题标题】:Gitlab - webroot directoryGitlab - webroot 目录
【发布时间】:2018-11-02 20:24:31
【问题描述】:

我有一个来自数字海洋跑步的一键安装的 gitlab droplet。我希望使用本指南中的letsencrypt来保护它:https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04

gitlab 的 webroot 在哪里?我通常会查看 /var/www/... 但没有这样的东西。我需要运行这个脚本:./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d example.com -d www.example.com

gitlab的内嵌/usr/share/nginx/html目录在哪里?

谢谢

【问题讨论】:

    标签: ssl nginx gitlab digital-ocean lets-encrypt


    【解决方案1】:

    我正在使用值得信赖的 Ubuntu,这条路径对我有用

    /opt/gitlab/embedded/service/gitlab-rails/public
    

    我也可以推荐使用certbot。对我来说,这要容易得多,我遵循了这个tutorial

    【讨论】:

    • 啊,谢谢。是的,certbot 似乎确实是一个更简单的过程
    猜你喜欢
    • 1970-01-01
    • 2011-08-07
    • 1970-01-01
    • 2018-11-25
    • 2011-03-14
    • 1970-01-01
    • 2020-12-01
    • 2012-09-18
    • 1970-01-01
    相关资源
    最近更新 更多