2
0
Эх сурвалжийг харах

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

Bring ACME no redirection inline with companion
Nicolas Duchon 4 жил өмнө
parent
commit
bf2d7295d3
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      nginx.tmpl

+ 2 - 1
nginx.tmpl

@@ -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;