18 wiersze
460 B
Plaintext
18 wiersze
460 B
Plaintext
server {
|
|
access_log /var/log/nginx/$host;
|
|
|
|
location / {
|
|
proxy_pass http://ssh_reverse_tunneling:3333/;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_redirect off;
|
|
}
|
|
|
|
error_page 502 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
}
|