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:
parent
1a914c84c6
commit
43059a63ff
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue