netmon-multinode/RasPi/nginx

18 lines
411 B
Plaintext
Raw Normal View History

2022-04-24 23:14:49 +02:00
server {
listen 80;
listen [::]:80;
gzip on;
server_name 192.168.1.12;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_redirect off;
proxy_set_header Host 127.0.0.1;
proxy_set_header X-Original-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}