You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
483 B
Plaintext
20 lines
483 B
Plaintext
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection $proxy_connection;
|
|
proxy_set_header Host $the_host;
|
|
proxy_set_header X-Forwarded-Host $the_host;
|
|
proxy_set_header X-Forwarded-Proto $the_scheme;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
server {
|
|
listen 0.0.0.0:80;
|
|
listen [::]:80 default_server;
|
|
|
|
client_max_body_size 4G;
|
|
|
|
location / {
|
|
proxy_pass http://$router_host:8092;
|
|
}
|
|
|
|
include includes/letsencrypt.conf;
|
|
}
|