Closed hardsoftsecurity closed 3 years ago
Hi, in your Nginx config file, you will need to enable proxying websocket protocol as:
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_pass https://domain/;
# add following to your config file
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
Hi, in your Nginx config file, you will need to enable proxying websocket protocol as:
location / { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_pass https://domain/; # add following to your config file proxy_buffering off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; }
Hi, i added this options on my configuration file and works fine thank you for the help.
Describe the issue/idea: Hello, I have mounted a proxy with NGINX and I am trying to make a proxy with trasa, but when performing an rdp I get the following error in the browser:
"The upstream server does not appear to exist, or cannot be reached over the network. In most cases, the upstream server is the remote desktop server."
and checking the NGINX log I find the following information:
"GET /accessproxy/rdp/tunnel HTTP/1.1" 400 12 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/".
Has anyone managed to establish a proxy in front of trasa? if I delete the proxy it works correctly...
NGINX configuration:
All the best.
Scope of the issue/idea: