File tree 2 files changed +48
-0
lines changed
2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,27 @@ location ^~ /boinc/ {
30
30
31
31
proxy_buffering off;
32
32
}
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
+ }
Original file line number Diff line number Diff line change @@ -59,3 +59,27 @@ location ^~ /content-server/ {
59
59
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
60
60
61
61
}
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
+ }
You can’t perform that action at this time.
0 commit comments