1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Update nginx.conf

This commit is contained in:
liberodark 2020-05-30 21:30:21 +02:00 committed by GitHub
parent 1a914c84c6
commit 43059a63ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,3 @@
location / {
try_files $uri $uri/ =404;
}
######## ########
## Jellyfin ## Jellyfin
@ -9,10 +5,10 @@ location / {
return 302 $scheme://$host/jellyfin/; return 302 $scheme://$host/jellyfin/;
} }
location /jellyfin/ { location __PATH__/ {
# Proxy main Jellyfin traffic # Proxy main Jellyfin traffic
# The / at the end is significant. # The / at the end is significant.
proxy_pass http://127.0.0.1:__PORT__/; proxy_pass http://127.0.0.1:__PORT____PATH__/;
proxy_pass_request_headers on; proxy_pass_request_headers on;