annotate nginx.default.conf @ 10:a7187a447835

restrict repo names
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 12 Jul 2022 19:40:50 -0600
parents dfc36e7ed22c
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 }