zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Let's Encrypt

First8Memristor opened this issue · comments

I tried to setup Let's Encrypt (with various method) but fail. Same method I am using for other server (not hgv) it's work find. Let's Encrypt failed challenge test although the folder are accessible.

Hi @cakobox did the same thing yesterday and ran into similar issues, but was able to resolve as follows:

sudo nano /etc/nginx/sites-available/example.com

find this line and remove or disable it:

#location ~ /\. { deny all; access_log off; log_not_found off; }

Please be sure to switch it back on after Let's Encrypt is done.

Thanks. It's help!