feat: add default location for ACME cerf

This commit is contained in:
Stepan Vladovskiy 2023-10-12 09:14:52 -03:00
parent f8c5d65e03
commit 7aba5a6491

View File

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