Skip to content

Commit 581b2a7

Browse files
authored
Merge branch 'master' into hoarder
2 parents 11e54ad + 5aaa248 commit 581b2a7

15 files changed

+239
-15
lines changed

.github/workflows/check_samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4.1.7
15+
uses: actions/checkout@v4.2.2
1616

1717
- name: Check Allowed File Names
1818
run: |

babybuddy.subdomain.conf.sample

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/07/16
1+
## Version 2024/12/29
22
# make sure that your babybuddy container is named babybuddy
33
# make sure that your dns has a cname set for babybuddy
44

@@ -43,4 +43,14 @@ server {
4343
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4444

4545
}
46+
47+
location ~ ^/api/ {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app babybuddy;
51+
set $upstream_port 8000;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
}
4656
}

beszel.subdomain.conf.sample

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## Version 2024/07/16
2+
# make sure that your beszel container is named beszel
3+
# make sure that your dns has a cname set for beszel
4+
5+
server {
6+
listen 443 ssl;
7+
listen [::]:443 ssl;
8+
9+
server_name beszel.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app beszel;
41+
set $upstream_port 8090;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
location ~ (/beszel)?/api {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app beszel;
51+
set $upstream_port 8090;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
}
56+
}

beszel.subfolder.conf.sample

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Version 2023/02/05
2+
# make sure that your beszel container is named beszel
3+
# make sure that beszel is set to work with the base url /beszel/
4+
5+
6+
location /beszel {
7+
return 301 $scheme://$host/beszel/;
8+
}
9+
10+
location ^~ /beszel/ {
11+
# enable the next two lines for http auth
12+
#auth_basic "Restricted";
13+
#auth_basic_user_file /config/nginx/.htpasswd;
14+
15+
# enable for ldap auth (requires ldap-server.conf in the server block)
16+
#include /config/nginx/ldap-location.conf;
17+
18+
# enable for Authelia (requires authelia-server.conf in the server block)
19+
#include /config/nginx/authelia-location.conf;
20+
21+
# enable for Authentik (requires authentik-server.conf in the server block)
22+
#include /config/nginx/authentik-location.conf;
23+
24+
include /config/nginx/proxy.conf;
25+
include /config/nginx/resolver.conf;
26+
set $upstream_app beszel;
27+
set $upstream_port 8090;
28+
set $upstream_proto http;
29+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
30+
31+
}
32+
33+
location ^~ /beszel/api {
34+
include /config/nginx/proxy.conf;
35+
include /config/nginx/resolver.conf;
36+
set $upstream_app beszel;
37+
set $upstream_port 8090;
38+
set $upstream_proto http;
39+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
40+
41+
}

calibre-web.subdomain.conf.sample

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/07/16
1+
## Version 2024/12/06
22
# make sure that your calibre-web container is named calibre-web
33
# make sure that your dns has a cname set for calibre-web
44

@@ -61,4 +61,18 @@ server {
6161
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
6262
proxy_set_header X-Scheme $scheme;
6363
}
64-
}
64+
65+
# Feed for Kobo
66+
location /kobo/ {
67+
include /config/nginx/resolver.conf;
68+
set $upstream_app calibre-web;
69+
set $upstream_port 8083;
70+
set $upstream_proto http;
71+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
72+
proxy_set_header X-Forwarded-Host $http_host;
73+
proxy_set_header X-Scheme $scheme;
74+
proxy_buffer_size 128k;
75+
proxy_buffers 4 256k;
76+
proxy_busy_buffers_size 256k;
77+
}
78+
}

calibre-web.subfolder.conf.sample

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,17 @@ location ^~ /calibre-web/opds/ {
4848
proxy_set_header X-Scheme $scheme;
4949
proxy_set_header X-Script-Name /calibre-web;
5050
}
51+
52+
# Feed for Kobo
53+
location ^~ /calibre-web/kobo/ {
54+
include /config/nginx/resolver.conf;
55+
set $upstream_app calibre-web;
56+
set $upstream_port 8083;
57+
set $upstream_proto http;
58+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
59+
proxy_set_header X-Scheme $scheme;
60+
proxy_set_header X-Script-Name /calibre-web;
61+
proxy_buffer_size 128k;
62+
proxy_buffers 4 256k;
63+
proxy_busy_buffers_size 256k;
64+
}

castopod.subdomain.conf.sample

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
## Version 2024/07/16
2-
# make sure that your castopod container is named castopod
1+
## Version 2024/12/04
2+
# make sure that your castopod container is named castopod-app
33
# make sure that your dns has a cname set for castopod
44

55
server {
@@ -37,8 +37,8 @@ server {
3737

3838
include /config/nginx/proxy.conf;
3939
include /config/nginx/resolver.conf;
40-
set $upstream_app castopod;
41-
set $upstream_port 80;
40+
set $upstream_app castopod-app;
41+
set $upstream_port 8000;
4242
set $upstream_proto http;
4343
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4444

dnsdist.subdomain.conf.sample

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Version 2024/12/19
2+
# make sure that your container is named dnsdist
3+
# make sure that your dns has a cname set for dnsdist
4+
5+
server {
6+
listen 443 ssl;
7+
listen [::]:443 ssl;
8+
9+
server_name dnsdist.*;
10+
11+
location /dns-query {
12+
include /config/nginx/proxy.conf;
13+
include /config/nginx/resolver.conf;
14+
set $upstream_app dnsdist;
15+
set $upstream_port 443;
16+
set $upstream_proto grpc;
17+
grpc_pass grpcs://$upstream_app:$upstream_port;
18+
19+
proxy_set_header Range $http_range;
20+
proxy_set_header If-Range $http_if_range;
21+
}
22+
}

jellyfin.subdomain.conf.sample

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/08/22
1+
## Version 2025/01/11
22
# make sure that your jellyfin container is named jellyfin
33
# make sure that your dns has a cname set for jellyfin
44
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
@@ -22,6 +22,7 @@ server {
2222
set $upstream_app jellyfin;
2323
set $upstream_port 8096;
2424
set $upstream_proto http;
25+
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
2526
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
2627

2728
proxy_set_header Range $http_range;
@@ -34,6 +35,7 @@ server {
3435
set $upstream_app jellyfin;
3536
set $upstream_port 8096;
3637
set $upstream_proto http;
38+
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
3739
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3840

3941
}

jellyfin.subfolder.conf.sample

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/02/05
1+
## Version 2025/01/11
22
# make sure that your jellyfin container is named jellyfin
33
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
44
# if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
@@ -15,6 +15,7 @@ location ^~ /jellyfin/ {
1515
set $upstream_app jellyfin;
1616
set $upstream_port 8096;
1717
set $upstream_proto http;
18+
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
1819
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
1920

2021
proxy_set_header Range $http_range;

0 commit comments

Comments
 (0)