corrected letsencrypt acme challenge configs

This commit is contained in:
Bastian de Byl
2022-07-16 13:54:40 -04:00
parent dc4aca06ec
commit fb1c0c7264
2 changed files with 12 additions and 12 deletions

View File

@@ -2,9 +2,9 @@ server {
listen 80;
server_name {{ ci_server_name }};
location /.well-known {
location '/.well-known/acme-challenge' {
default_type "text/plain";
root /srv/http/letsencrypt;
try_files $uri $uri/ =404;
}
location / {

View File

@@ -10,9 +10,9 @@ server {
listen 80;
server_name {{ parts_server_name }};
location /.well-known {
location '/.well-known/acme-challenge' {
default_type "text/plain";
root /srv/http/letsencrypt;
try_files $uri $uri/ =404;
}
location / {