# HG changeset patch # User Vadim Filimonov # Date 1659013805 -10800 # Node ID bbafc54bbd26c1930648be7c38b1122593cc9a95 # Parent a7187a4478356710d515cc495c3aed3e1deac519 fix ssl renew diff -r a7187a447835 -r bbafc54bbd26 nginx.conf --- a/nginx.conf Tue Jul 12 19:40:50 2022 -0600 +++ b/nginx.conf Thu Jul 28 16:10:05 2022 +0300 @@ -16,12 +16,7 @@ error_log off; server { - listen 80; - location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" { - default_type text/plain; - return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk"; - } - + listen 80; include nginx.default.conf; include config/nginx.custom.*.conf; include config/nginx.conf; diff -r a7187a447835 -r bbafc54bbd26 nginx.default.conf --- a/nginx.default.conf Tue Jul 12 19:40:50 2022 -0600 +++ b/nginx.default.conf Thu Jul 28 16:10:05 2022 +0300 @@ -5,6 +5,11 @@ proxy_set_header X-Real-IP $remote_addr; charset utf-8; + location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" { + default_type text/plain; + return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk"; + } + location / { proxy_pass http://127.0.0.1:8080; }