From bc94147de8d1f6cb218bea6b2b0d807c4d37e898 Mon Sep 17 00:00:00 2001 From: binarygeek119 <72405030+binarygeek119@users.noreply.github.com> Date: Fri, 18 Oct 2024 00:45:41 -0500 Subject: [PATCH] Create tubearchivist.subdomain.conf --- tubearchivist.subdomain.conf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tubearchivist.subdomain.conf diff --git a/tubearchivist.subdomain.conf b/tubearchivist.subdomain.conf new file mode 100644 index 0000000..0bedf90 --- /dev/null +++ b/tubearchivist.subdomain.conf @@ -0,0 +1,31 @@ +## Version 2024/10/18 +# make sure that your TubeArchivist container is named TubeArchivist +# make sure that your dns has a cname set for tubearchivist +# if jellyfin is running in bridge mode and the container is named "TubeArchivist", the below config should work as is +# if not, replace the line "set $upstream_app TubeArchivist;" with "set $upstream_app ;" +# or "set $upstream_app ;" for host mode, HOSTIP being the IP address of tubearchivist +# maker sure to set the "TA_HOST" environment variables to your subdomain in TubeArchivist docker. + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name tubearchivist.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + location / { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app TubeArchivist; + set $upstream_port 8000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + proxy_set_header Range $http_range; + proxy_set_header If-Range $http_if_range; + } +} +