annotate nginx.default.conf @ 13:94b5c7b54978

rm only logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 28 Jul 2022 16:23:57 +0300
parents bbafc54bbd26
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 client_max_body_size 0;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2 proxy_http_version 1.1;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 proxy_set_header Host $http_host;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 proxy_set_header X-Forwarded-Proto $scheme;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 proxy_set_header X-Real-IP $remote_addr;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6 charset utf-8;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7
11
bbafc54bbd26 fix ssl renew
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 0
diff changeset
8 location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
bbafc54bbd26 fix ssl renew
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 0
diff changeset
9 default_type text/plain;
bbafc54bbd26 fix ssl renew
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 0
diff changeset
10 return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk";
bbafc54bbd26 fix ssl renew
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 0
diff changeset
11 }
bbafc54bbd26 fix ssl renew
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 0
diff changeset
12
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13 location / {
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 proxy_pass http://127.0.0.1:8080;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 }