zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.
102 stars 46 forks source link

Let's Encrypt #50

Closed iskandarsulaili closed 7 years ago

iskandarsulaili commented 8 years ago

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.

kleinaber commented 7 years ago

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.

iskandarsulaili commented 7 years ago

Thanks. It's help!