feat: add default location for ACME cerf
This commit is contained in:
parent
f8c5d65e03
commit
7aba5a6491
|
@ -45,6 +45,13 @@ server {
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# Default location block
|
# Default location block
|
||||||
|
|
||||||
|
# Let's Encrypt ACME Challenge
|
||||||
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
|
root /var/www/letsencrypt/;
|
||||||
|
try_files $uri =404;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
||||||
{{ $proxy_settings }}
|
{{ $proxy_settings }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user