annotate nginx.default.conf @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children bbafc54bbd26
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
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 location / {
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9 proxy_pass http://127.0.0.1:8080;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 }