<div dir="ltr"><div><div><div><br></div>I want to create a reverse and SSL proxy for xpra - <a href="https://xpra.org/">https://xpra.org/</a>, 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.<br><br></div></div><div>The way to connect directly to an xpra HTML5 server is to enter the address and the port directly to the browser eg. <a href="http://1.2.3.4:5000">http://1.2.3.4:5000</a>. A page appears prompting for the target server and port, login credentials and a few others, and when filled properly the desktop comes up.<br></div><div><div><div><div><div><br>This is my first attempt to create an nginx proxy from scratch and I have already hit a snag.<br><br></div><div>My aim is to have different locations connecting to server:port connections, so I have something like this<br><br>location /xpra { <br> proxy_pass <a href="http://111.222.213.221:14003">http://111.222.213.221:14003</a>;<br> # proxy_pass <a href="http://127.0.0.1:14003">http://127.0.0.1:14003</a>; <br> proxy_http_version 1.1; <br> proxy_buffering off; <br>} <br></div><div><br></div><div>proxy_pass is the main option whose relevance I have checkied, the other two are options which seem to useful.<br><br></div><div>Whenever i try to open a page http//:<a href="http://111.222.111.221/xpra">111.222.111.221/xpra</a>, the following results<br></div><div><h1>Error response</h1>
<p>Error code 404.
</p><p>Message: File not found.
</p><p>Error code explanation: 404 = Nothing matches the given URI.
</p>=================<br></div><div><br></div><div>The code for the client is at - <a href="https://xpra.org/html5/connect.html">https://xpra.org/html5/connect.html</a><br></div><div>-- <br><div class="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a></div>
</div></div></div></div></div></div>