Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Dec 2, 2022
1 parent dd4beb8 commit c5ee19b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -345,15 +345,7 @@ server {
{{ end }}
{{ $access_log }}

# Do not HTTPS redirect Let'sEncrypt ACME challenge
location ^~ /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
root /usr/share/nginx/html;
try_files $uri =404;
break;
}


location / {
{{ if eq $external_https_port "443" }}
Expand Down

0 comments on commit c5ee19b

Please sign in to comment.