14 lines
286 B
Plaintext
14 lines
286 B
Plaintext
|
server {
|
||
|
|
||
|
listen 80;
|
||
|
server_name {{ http_host }};
|
||
|
|
||
|
location / {
|
||
|
proxy_set_header Host $host:$server_port;
|
||
|
proxy_set_header X-Scheme $scheme;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
proxy_pass http://localhost:{{ host_port }};
|
||
|
}
|
||
|
}
|
||
|
|