Skip to content

Commit bc94147

Browse files
Create tubearchivist.subdomain.conf
1 parent b3bad45 commit bc94147

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

tubearchivist.subdomain.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Version 2024/10/18
2+
# make sure that your TubeArchivist container is named TubeArchivist
3+
# make sure that your dns has a cname set for tubearchivist
4+
# if jellyfin is running in bridge mode and the container is named "TubeArchivist", the below config should work as is
5+
# if not, replace the line "set $upstream_app TubeArchivist;" with "set $upstream_app <containername>;"
6+
# or "set $upstream_app <HOSTIP>;" for host mode, HOSTIP being the IP address of tubearchivist
7+
# maker sure to set the "TA_HOST" environment variables to your subdomain in TubeArchivist docker.
8+
9+
server {
10+
listen 443 ssl;
11+
listen [::]:443 ssl;
12+
13+
server_name tubearchivist.*;
14+
15+
include /config/nginx/ssl.conf;
16+
17+
client_max_body_size 0;
18+
19+
location / {
20+
include /config/nginx/proxy.conf;
21+
include /config/nginx/resolver.conf;
22+
set $upstream_app TubeArchivist;
23+
set $upstream_port 8000;
24+
set $upstream_proto http;
25+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
26+
27+
proxy_set_header Range $http_range;
28+
proxy_set_header If-Range $http_if_range;
29+
}
30+
}
31+

0 commit comments

Comments
 (0)