Skip to content

Commit 06ada7a

Browse files
committed
update subfolder confs that point to websockify for kasmvnc based images
1 parent f58b8f9 commit 06ada7a

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

boinc.subfolder.conf.sample

+24
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,27 @@ location ^~ /boinc/ {
3030

3131
proxy_buffering off;
3232
}
33+
34+
location ^~ /websockify {
35+
# enable the next two lines for http auth
36+
#auth_basic "Restricted";
37+
#auth_basic_user_file /config/nginx/.htpasswd;
38+
39+
# enable for ldap auth (requires ldap-server.conf in the server block)
40+
#include /config/nginx/ldap-location.conf;
41+
42+
# enable for Authelia (requires authelia-server.conf in the server block)
43+
#include /config/nginx/authelia-location.conf;
44+
45+
# enable for Authentik (requires authentik-server.conf in the server block)
46+
#include /config/nginx/authentik-location.conf;
47+
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app boinc;
51+
set $upstream_port 6901;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
proxy_buffering off;
56+
}

calibre.subfolder.conf.sample

+24
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,27 @@ location ^~ /content-server/ {
5959
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
6060

6161
}
62+
63+
location ^~ /websockify {
64+
# enable the next two lines for http auth
65+
#auth_basic "Restricted";
66+
#auth_basic_user_file /config/nginx/.htpasswd;
67+
68+
# enable for ldap auth (requires ldap-server.conf in the server block)
69+
#include /config/nginx/ldap-location.conf;
70+
71+
# enable for Authelia (requires authelia-server.conf in the server block)
72+
#include /config/nginx/authelia-location.conf;
73+
74+
# enable for Authentik (requires authentik-server.conf in the server block)
75+
#include /config/nginx/authentik-location.conf;
76+
77+
include /config/nginx/proxy.conf;
78+
include /config/nginx/resolver.conf;
79+
set $upstream_app calibre;
80+
set $upstream_port 6901;
81+
set $upstream_proto http;
82+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
83+
84+
proxy_buffering off;
85+
}

0 commit comments

Comments
 (0)