2017-08-12 20:12:14 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name server_domain_or_IP;
|
|
|
|
|
|
|
|
location / {
|
2019-01-28 10:03:51 +01:00
|
|
|
proxy_pass_header Server;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_redirect off;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
2020-04-22 14:58:01 +02:00
|
|
|
proxy_set_header X_FORWARDED_PROTO $scheme;
|
2019-04-05 14:13:07 +02:00
|
|
|
proxy_connect_timeout 300;
|
|
|
|
proxy_read_timeout 300;
|
2019-01-28 10:03:51 +01:00
|
|
|
proxy_pass http://localhost:5100/;
|
2017-08-12 20:12:14 +02:00
|
|
|
}
|
|
|
|
}
|