Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access through reverse proxy not working #2898

Open
DJ-Key opened this issue Nov 12, 2023 · 3 comments
Open

Access through reverse proxy not working #2898

DJ-Key opened this issue Nov 12, 2023 · 3 comments

Comments

@DJ-Key
Copy link

DJ-Key commented Nov 12, 2023

I can't acess the server web gui through a nginx reverse proxy(Nginx Proxy Manager)
and when i try to configure the <virtualURL>http://dlna.xy.z/</virtualURL> it works but my Samsung smart tv can't play any files so i haven't put the url in.
Locally i can acces the Web Gui.
My gerbera server 1.12.1 is running on an Ubuntu Server 22.04.3 LTS
xy.z is only as example. And i've modified the mt-icons in /usr/share/gerbera/web/icons for custom Images on my Samsung Smart tv Series 7(UE55RU7402UXXH)

@KarlStraussberger
Copy link
Member

That's why we added #2836 (external) to mask the address. Virtual url is more or less intended for container environments

@DJ-Key
Copy link
Author

DJ-Key commented Nov 15, 2023

And how do i add this? I Installd gerbera through apt.
I added <externalURL>http://dlna.xy.z/</externalURL> to the /etc/gerbera/config.xml but it's still not working.

@DJ-Key
Copy link
Author

DJ-Key commented Nov 15, 2023

Here my steps after setting up the Server and update && full-upgrade

1: Implementing NAS Storage:
1 sudo nano /etc/fstab
2 sudo nano /root/.credentials
3 sudo apt-get install cifs-utils
2: Adding repository
6 sudo curl -fsSL https://gerbera.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
7 sudo apt-add-repository https://gerbera.jfrog.io/artifactory/debian
3: To Prevent Errors with inotify
8 echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && echo fs.inotify.max_queued_events=524288 | sudo tee -a /etc/sysctl.conf && echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sys ctl -p
4: Update & install Gerbera
12 sudo apt update
13 sudo apt dist-upgrade
14 sudo apt install gerbera

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants