4 hours ago
Hello all,
I am having a bit of trouble finishing my home server setup. The crux of the issue is I am getting HTTP 404 when requesting the jellyfin app through Nginx reverse proxy using HTTPS.
My setup:
Fedora 41.
SELinux enabled.
Jellyfin rootless Podman container running as the "Jellyfin" user.
Nginx rootless podman container running as the "Nginx" user on top of the Nginx system user.
HTTPS certificates were created using certbot (Had to do a little massaging of the cert permissions because rootless containers are more locked down).
AWS Route 53 for DNS resolution and domain registration.
What works:
Jellyfin access from LAN and WAN using HTTP and router port forwarding. The Jellyfin container listens on port 8096 and forwards traffic into the container on port 8096 (Rootless containers don't let you use ports < 1024).
HTTPS certs were created and registered successfully using certbot and I can use my phone on 5G (access outside my local network) to connect to my webserver via HTTPS and view my custom root webpage.
What doesn't work:
I'm trying to set up the reverse proxy to serve up the Jellyfin app when I connect to https://mydomain/media/. I have tried a few things and I'm getting an error 404.
My config files:
Rootless Jellyfin Podman container file:
https://pastebin.com/s694n1yp
Rootless Nginx Podman container file:
https://pastebin.com/mQG9yBz7
Nginx config file:
https://pastebin.com/dEajLvUU
Any help would be appreciated. I believe it's probably an issue with the nginx config file.
I am having a bit of trouble finishing my home server setup. The crux of the issue is I am getting HTTP 404 when requesting the jellyfin app through Nginx reverse proxy using HTTPS.
My setup:
Fedora 41.
SELinux enabled.
Jellyfin rootless Podman container running as the "Jellyfin" user.
Nginx rootless podman container running as the "Nginx" user on top of the Nginx system user.
HTTPS certificates were created using certbot (Had to do a little massaging of the cert permissions because rootless containers are more locked down).
AWS Route 53 for DNS resolution and domain registration.
What works:
Jellyfin access from LAN and WAN using HTTP and router port forwarding. The Jellyfin container listens on port 8096 and forwards traffic into the container on port 8096 (Rootless containers don't let you use ports < 1024).
HTTPS certs were created and registered successfully using certbot and I can use my phone on 5G (access outside my local network) to connect to my webserver via HTTPS and view my custom root webpage.
What doesn't work:
I'm trying to set up the reverse proxy to serve up the Jellyfin app when I connect to https://mydomain/media/. I have tried a few things and I'm getting an error 404.
My config files:
Rootless Jellyfin Podman container file:
https://pastebin.com/s694n1yp
Rootless Nginx Podman container file:
https://pastebin.com/mQG9yBz7
Nginx config file:
https://pastebin.com/dEajLvUU
Any help would be appreciated. I believe it's probably an issue with the nginx config file.