xpra icon
Bug tracker and wiki

Changes between Version 2 and Version 3 of Nginx


Ignore:
Timestamp:
03/19/18 12:04:45 (19 months ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nginx

    v2 v3  
    1 == Introduction
     1{{{#!div class="box"
     2= NGINX =
    23
    34It is possible to use Xpra from behind a Nginx proxy using the HTML5 Client.
     
    56== Example
    67
    7 Start xpra with the following command:-
    8 
     8Start an xpra server listening on a TCP port, ie:
    99{{{
    1010xpra start :100 --start-child=xterm --bind-tcp=0.0.0.0:10010
     
    1212
    1313Add the following lines to your nginx configuration within a server block:-
    14 
    1514{{{
    1615server {
     
    2827Make sure to reload the server to update the configuration.
    2928
    30 The final step is to create the connection page. You can use the default page as a base. Look for the line:-
    31 
    32 {{{
    33   var server = [...]
     29If you are not using the default connect dialog page, you may need to override the "path" option.
    3430}}}
    35 
    36 and replace it with the line:-
    37 
    38 {{{
    39   var server = "www.example.com/xpra/"
    40 }}}