Mercurial Hosting > hghosting
comparison nginx.default.conf @ 11:bbafc54bbd26
fix ssl renew
| author | Vadim Filimonov <fffilimonov@yandex.ru> |
|---|---|
| date | Thu, 28 Jul 2022 16:10:05 +0300 |
| parents | dfc36e7ed22c |
| children | f83fbf2b6d4f |
comparison
equal
deleted
inserted
replaced
| 10:a7187a447835 | 11:bbafc54bbd26 |
|---|---|
| 3 proxy_set_header Host $http_host; | 3 proxy_set_header Host $http_host; |
| 4 proxy_set_header X-Forwarded-Proto $scheme; | 4 proxy_set_header X-Forwarded-Proto $scheme; |
| 5 proxy_set_header X-Real-IP $remote_addr; | 5 proxy_set_header X-Real-IP $remote_addr; |
| 6 charset utf-8; | 6 charset utf-8; |
| 7 | 7 |
| 8 location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" { | |
| 9 default_type text/plain; | |
| 10 return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk"; | |
| 11 } | |
| 12 | |
| 8 location / { | 13 location / { |
| 9 proxy_pass http://127.0.0.1:8080; | 14 proxy_pass http://127.0.0.1:8080; |
| 10 } | 15 } |
