소스 검색

Merge pull request #1229 from demize/auth_request-fix

Disable auth_request in letsencrypt-acme-challenge.conf
jc21 4 년 전
부모
커밋
9458cfbd1a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      docker/rootfs/etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf

+ 1 - 0
docker/rootfs/etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf

@@ -5,6 +5,7 @@ location ^~ /.well-known/acme-challenge/ {
 	# Since this is for letsencrypt authentication of a domain and they do not give IP ranges of their infrastructure
 	# we need to open up access by turning off auth and IP ACL for this location.
 	auth_basic off;
+	auth_request off;
 	allow all;
 
 	# Set correct content type. According to this: