Reputation: 2334
I have a gitlab droplet from the one-click installs on digital ocean running. I am looking to secure it with letsencrypt from this guide: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04
Where is the webroot for gitlab? I would usually look in /var/www/... but there is no such thing. I need to run this script: ./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d example.com -d www.example.com
Where is gitlab's embedded /usr/share/nginx/html directory?
Thanks
Upvotes: 1
Views: 2071
Reputation: 1696
I am using Ubuntu trusty and this path worked for me
/opt/gitlab/embedded/service/gitlab-rails/public
I also can recommend using certbot
. For me it was much easier and I followed this tutorial.
Upvotes: 3