[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:advanced:x2gohtmlclient

wiki-admin at x2go.org wiki-admin at x2go.org
Fri Dec 31 20:30:11 CET 2021


A page in your DokuWiki was added or changed. Here are the details:

Browser             : Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
IP Address          : 137.26.240.242
Hostname            : 137-026-240-242.biz.spectrum.com
Old Revision        : https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient?rev=1640978417
New Revision        : https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient
Date of New Revision: 2021/12/31 19:30
Edit Summary        : Fix indentation of NGINX configuration
User                : mikep

There may be newer changes after this revision. If this
happens, a message will be shown on the top of the rev page.

@@ -98,27 +98,27 @@
      add_header X-Content-Type-Options "nosniff";
      add_header X-Frame-Options "SAMEORIGIN";
    }
  
- location ~* \.(pl|cgi)$ {
-   gzip off;
-   include /etc/nginx/fastcgi_params;
-   fastcgi_pass  unix:/var/run/fcgiwrap.socket;
+   location ~* \.(pl|cgi)$ {
+     gzip off;
+     include /etc/nginx/fastcgi_params;
+     fastcgi_pass  unix:/var/run/fcgiwrap.socket;
    }
  
- location ~ ^/x2gows/(.*)$ {
-   proxy_pass       https://127.0.0.1:$1;
-   proxy_set_header Upgrade $http_upgrade;
-   proxy_set_header Connection "upgrade";
-   proxy_http_version 1.1;
-   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-   proxy_set_header Host $http_host;
-   proxy_intercept_errors on;
-   proxy_redirect off;
-   proxy_cache_bypass $http_upgrade;
-   proxy_set_header X-Real-IP $remote_addr;
-   proxy_set_header X-NginX-Proxy true;
-   proxy_ssl_session_reuse off;
+   location ~ ^/x2gows/(.*)$ {
+     proxy_pass       https://127.0.0.1:$1;
+     proxy_set_header Upgrade $http_upgrade;
+     proxy_set_header Connection "upgrade";
+     proxy_http_version 1.1;
+     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+     proxy_set_header Host $http_host;
+     proxy_intercept_errors on;
+     proxy_redirect off;
+     proxy_cache_bypass $http_upgrade;
+     proxy_set_header X-Real-IP $remote_addr;
+     proxy_set_header X-NginX-Proxy true;
+     proxy_ssl_session_reuse off;
    }
  }
  </file>
  


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/


More information about the x2go-commits mailing list