Skip to content

Commit 1f678ed

Browse files
committed
Revert "Set /.well-known/acme-challenge nginx location path as prefix string (#192)"
Don't need to use a regexp because the vhost.d/default configuration must be include specificaly in each server configurations by the nginx.tmpl template file. Something like: {{ if (exists (printf "/etc/nginx/vhost.d/%s" $host)) }} include {{ printf "/etc/nginx/vhost.d/%s" $host }}; {{ else if (exists "/etc/nginx/vhost.d/default") }} include /etc/nginx/vhost.d/default; {{ end }}
1 parent 0b5b2ec commit 1f678ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/nginx_location.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
location ^~ /.well-known/acme-challenge/ {
1+
location /.well-known/acme-challenge/ {
22
allow all;
33
root /usr/share/nginx/html;
44
try_files $uri =404;

0 commit comments

Comments
 (0)