testing config added
parent
8ec0eaa87e
commit
00ab82fef0
|
|
@ -0,0 +1,14 @@
|
|||
location /ws {
|
||||
proxy_pass http://10.0.0.10:8002/ws;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header 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;
|
||||
allow 10.0.0.0/24;
|
||||
allow 192.168.0.0/24;
|
||||
allow 172.16.0.0/12;
|
||||
deny all;
|
||||
}
|
||||
Loading…
Reference in New Issue