Changes between Version 2 and Version 3 of Nginx
- Timestamp:
- 03/19/18 12:04:45 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Nginx
v2 v3 1 == Introduction 1 {{{#!div class="box" 2 = NGINX = 2 3 3 4 It is possible to use Xpra from behind a Nginx proxy using the HTML5 Client. … … 5 6 == Example 6 7 7 Start xpra with the following command:- 8 8 Start an xpra server listening on a TCP port, ie: 9 9 {{{ 10 10 xpra start :100 --start-child=xterm --bind-tcp=0.0.0.0:10010 … … 12 12 13 13 Add the following lines to your nginx configuration within a server block:- 14 15 14 {{{ 16 15 server { … … 28 27 Make sure to reload the server to update the configuration. 29 28 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 = [...] 29 If you are not using the default connect dialog page, you may need to override the "path" option. 34 30 }}} 35 36 and replace it with the line:-37 38 {{{39 var server = "www.example.com/xpra/"40 }}}