1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-04-20 09:04:08 +02:00

Merge pull request #1409 from nginx-proxy/no-https-redirect-acme

Bring ACME no redirection inline with companion
This commit is contained in:
Nicolas Duchon 2021-03-17 20:31:37 +01:00 committed by GitHub
commit bf2d7295d3
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

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