well, of course I saved changes before copying (using Editor). I tried again and it still shows the *. Not sure what I am doing wrong. Do I need to use a different editor?
Currently the Reverse Proxy Settings in ADM give me an error when I try to open it, saying the settings file is missing.
Jellyfin and Reverse Proxy
-
- Posts: 24
- youtube meble na wymiar Warszawa
- Joined: Mon Apr 13, 2020 5:08 am
-
- Posts: 397
- Joined: Thu Apr 09, 2020 8:01 pm
Re: Jellyfin and Reverse Proxy
Just realised you're editing:
Revert the changes you made to it.
Go to:
open the relevant .conf file, and make the relevant changes there.
Code: Select all
/volume0/usr/builtin/etc/reverse_proxy/proxy.json
Go to:
Code: Select all
/volume0/usr/builtin/etc/nginx_reverse_proxy/sites-enabled
-
- Posts: 24
- Joined: Mon Apr 13, 2020 5:08 am
Re: Jellyfin and Reverse Proxy
Seems like i am missing basics here. I cant cd to /sites-enabled. Cd to /nginx_reverse_proxy is possible and with ls I see sites-enabled/ (written in blue if that makes a difference). I am using root user.
-
- Posts: 397
- Joined: Thu Apr 09, 2020 8:01 pm
Re: Jellyfin and Reverse Proxy
Odd...
What are you using to access it? I'm on Windows, so the easiest thing for me is WinSCP.
What are you using to access it? I'm on Windows, so the easiest thing for me is WinSCP.
-
- Posts: 24
- Joined: Mon Apr 13, 2020 5:08 am
Re: Jellyfin and Reverse Proxy
I was using PuTTY. But I tried WinSCP based on your hint. Looks much better btw.
Don't know why, but it works with WinSCP. I can access the directory and can open the conf file. I will try a bit now.
Don't know why, but it works with WinSCP. I can access the directory and can open the conf file. I will try a bit now.
-
- Posts: 24
- Joined: Mon Apr 13, 2020 5:08 am
Re: Jellyfin and Reverse Proxy
Based on https://jellyfin.org/docs/general/netwo ... rgjellyfin I edited the conf file in
It looks like this now (I removed referals to Portiner etc)
Unfortunatly, that does not improve the situation. By the way, by accident I found out that changing something in the reverse proxy settings in ADM resets the conf file.
Code: Select all
/volume0/usr/builtin/etc/nginx_reverse_proxy/sites-enabled
Code: Select all
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 192.168.1.123:99;
server_name MYDOMAIN.myasustor.com;
ssl on;
ssl_certificate /usr/builtin/etc/certificate/ssl/2ba266f2-738e-47db-dba6-a49b81c65437/ssl.crt;
ssl_certificate_key /usr/builtin/etc/certificate/ssl/2ba266f2-738e-47db-dba6-a49b81c65437/ssl.key;
location /jellyfin/ {
proxy_pass http://192.168.1.123:8096/jellyfin/web/index.html;
proxy_pass_request_headers on;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;}
}
-
- Posts: 397
- Joined: Thu Apr 09, 2020 8:01 pm
Re: Jellyfin and Reverse Proxy
Try changing your reverse proxy path in ADM from /jellyfin/web/index.html to just /jellyfin/ and try accessing Jellyfin again.
If that doesn't work, try making the changes to the .conf file again (be careful of your line indentation, not sure if it makes a difference here, but you're a space short).
If it still doesn't work, it becomes an oh so fun game of trial and error, removing and re-adding lines.
If that doesn't work, try making the changes to the .conf file again (be careful of your line indentation, not sure if it makes a difference here, but you're a space short).
If it still doesn't work, it becomes an oh so fun game of trial and error, removing and re-adding lines.
-
- Posts: 24
- Joined: Mon Apr 13, 2020 5:08 am
Re: Jellyfin and Reverse Proxy
I adjusted line indentation and deleted the web/index.html subpath. The subpath had been added automatically by the reverse proxy when testing the connection successfully in ADM much earlier. But in real life it still does not work.
I will use trial and error now.
From the Jellyfin documentation I totally neglected the folling code lines so far
Are they related to the problem?
I will use trial and error now.
From the Jellyfin documentation I totally neglected the folling code lines so far
Code: Select all
# use a variable to store the upstream proxy
# in this example we are using a hostname which is resolved via DNS
# (if you aren't using DNS remove the resolver line and change the variable to point to an IP address e.g `set $jellyfin 127.0.0.1`)
set $jellyfin jellyfin;
resolver 127.0.0.1 valid=30;
# Uncomment and create directory to also host static content
#root /srv/http/media;
index index.html;
location / {
try_files $uri $uri/ =404;
# Jellyfin
location /jellyfin {
return 302 $scheme://$host/jellyfin/;
}
-
- Posts: 397
- Joined: Thu Apr 09, 2020 8:01 pm
Re: Jellyfin and Reverse Proxy
looks like the only one which might be of useindex index.html