summarylogtreecommitdiffstats
path: root/nginx.server-ctx.conf
blob: 53181708607967e2bfa003593d1766f8b31e725c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
location /extras/webterm/gotty {
	rewrite ^([^.\?]*[^/(/ws)])$ $1/ permanent;
	rewrite ^/extras/webterm/gotty$ / break;
	rewrite ^/extras/webterm/gotty\?(.*)$ ?$1 break;
	rewrite ^/extras/webterm/gotty/(.*)$ /$1 break;
	proxy_pass http://gotty;
	include /etc/nginx/proxy-params.conf;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	proxy_connect_timeout 7d;
	proxy_send_timeout 7d;
	proxy_read_timeout 7d;
}