This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- nginx.tmpl 2017-12-29 08:56:32.000000000 -0700 | |
+++ nginx.tmpl 2017-12-29 08:56:32.000000000 -0700 | |
@@ -193,7 +193,18 @@ | |
listen [::]:80 {{ $default_server }}; | |
{{ end }} | |
access_log /var/log/nginx/access.log vhost; | |
- return 301 https://$host$request_uri; | |
+ | |
+ location /.well-known/acme-challenge/ { | |
+ auth_basic off; |