added header for forwarding robot ip address
parent
21d993c389
commit
c96de50c5d
|
@ -31,9 +31,11 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /rcm/ { # robot control manager
|
location /rcm/ { # robot control manager
|
||||||
|
proxy_read_timeout 10800s;
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
proxy_http_version 1.0;
|
proxy_http_version 1.0;
|
||||||
proxy_set_header Connection ""; # needed for sse
|
proxy_set_header Connection ""; # needed for sse
|
||||||
|
proxy_set_header X-Real-IP $remote_addr; # needed to get the robot ip address
|
||||||
proxy_pass http://jnx-robot-control-manager/;
|
proxy_pass http://jnx-robot-control-manager/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue