We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d2f35 commit 0c39fdbCopy full SHA for 0c39fdb
default.conf.template
@@ -1,4 +1,4 @@
1
-upstream target {
+upstream $PROXY_HOST-target {
2
least_conn;
3
server $PROXY_HOST:$PROXY_PORT;
4
}
@@ -7,11 +7,13 @@ server {
7
listen 80;
8
server_name $PROXY_DOMAIN;
9
10
+ client_max_body_size 50M;
11
+
12
location / {
- proxy_pass http://target;
13
+ proxy_pass http://$PROXY_HOST-target;
14
proxy_set_header Host $host;
15
proxy_set_header X-Real-IP $remote_addr;
16
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17
proxy_set_header X-Forwarded-Proto $scheme;
18
-}
19
+}
0 commit comments