# Jellyfin + https + nginx setting up

**URL:** https://dietpi.com/forum/t/jellyfin-https-nginx-setting-up/5127
**Category:** General Discussion
**Created:** [18 March 2021 11:25 UTC](https://dietpi.com/forum/t/jellyfin-https-nginx-setting-up/5127 "2021-03-18T11:25:36Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [18 March 2021 16:32 UTC](https://dietpi.com/forum/t/jellyfin-https-nginx-setting-up/5127/3 "2021-03-18T16:32:24Z")

</div>

A reverse proxy can btw as easily be added with Apache2 or Lighttpd:  
E.g. for Apache2 to access via your.IP/jellyfin:

```nohighlight
a2enmod proxy
cat << 'EOF' > /etc/apache2/sites-available/jellyfin.conf
ProxyPass /jellyfin http://127.0.0.1:8096/
ProxyPassReverse /jellyfin http://127.0.0.1:8096/
EOF
a2ensite jellyfin
systemctl restart apache2

```

Lighttpd:

```nohighlight
lighty-enable-mod proxy
cat << 'EOF' > /etc/lighttpd/conf-available/99-jellyfin.conf
$HTTP["url"] =~ "^/jellyfin" {
    proxy.header = ( "map-urlpath" => ( "/jellyfin" => "/" ) )
    proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 8096 ) ) )
}
EOF
lighty-enable-mod jellyfin
systemctl restart lighttpd

```

We need to add this to our docs 🙂: [https://github.com/MichaIng/DietPi-Docs/issues/404](https://github.com/MichaIng/DietPi-Docs/issues/404)

---

_[View the full topic](https://dietpi.com/forum/t/jellyfin-https-nginx-setting-up/5127)._
