How to create a reverse and SSL proxy for xpra.

vfclists . vfclists at gmail.com
Fri Feb 16 14:32:59 UTC 2018


I want to create a reverse and SSL proxy for xpra  - https://xpra.org/, a
remote desktop facility for X windows, like x2go and VNC. The proxy is
targeted at the HTML5 option which allows the info to be transferred via
websockets.

The way to connect directly to an xpra HTML5 server is to enter the address
and the port directly to the browser eg. http://1.2.3.4:5000. A page
appears prompting for the target  server and port, login credentials and a
few others, and when filled properly the desktop comes up.

This is my first attempt to create an nginx proxy from scratch and I have
already  hit a snag.

My aim is to have different locations connecting to server:port
connections, so I have something like this

location /xpra {
    proxy_pass http://111.222.213.221:14003;
    # proxy_pass http://127.0.0.1:14003;
    proxy_http_version 1.1;
    proxy_buffering off;
}

proxy_pass is the main option whose relevance I have checkied, the  other
two are options which seem to useful.

Whenever i try to open a page http//:111.222.111.221/xpra, the following
results
Error response

Error code 404.

Message: File not found.

Error code explanation: 404 = Nothing matches the given URI.
=================

The code for the client is at - https://xpra.org/html5/connect.html
-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180216/04db0bc2/attachment.html>


More information about the nginx mailing list