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