Add Nginx and correct jellyfin path
This commit is contained in:
parent
fd85efd9fa
commit
06027d185a
26
README.md
26
README.md
@ -47,3 +47,29 @@ docker run -d --name=jellyfin -e PUID=1000 -e PGID=1000 -e TZ=Europe/Lon
|
||||
- Open Jellyfin at http://localhost:8096
|
||||
- Configure as it asks for first time.
|
||||
- Add media library folder and choose /data/movies/
|
||||
|
||||
# Configure Nginx
|
||||
|
||||
- Get inside Nginx container
|
||||
- `cd /etc/nginx/conf.d`
|
||||
- Add proxies as per below for all tools.
|
||||
- Close ports of other tools in firewall/security groups except port 80 and 443.
|
||||
|
||||
|
||||
# Radarr Nginx reverse proxy
|
||||
|
||||
- Settings --> General --> URL Base --> Add base (/radarr)
|
||||
- Add below proxy in nginx configuration
|
||||
|
||||
```
|
||||
location /radarr {
|
||||
proxy_pass http://radarr:7878;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
```
|
||||
|
||||
# Jackett Nginx reverse proxy
|
||||
|
||||
To be added
|
@ -55,7 +55,7 @@ services:
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- /path/to/library:/config
|
||||
- jellyfin-config:/config
|
||||
- tvseries:/data/tvshows
|
||||
- movies:/data/movies
|
||||
ports:
|
||||
@ -64,6 +64,17 @@ services:
|
||||
- 8920:8920
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
image: nginx:1.21.3-alpine
|
||||
container_name: nginx
|
||||
volumes:
|
||||
- nginx-config:/etc/nginx
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
tx-config:
|
||||
movies:
|
||||
@ -73,3 +84,5 @@ volumes:
|
||||
jackett-blackhole:
|
||||
jellyfin-config:
|
||||
tvseries:
|
||||
nginx-config:
|
||||
letsencrypt:
|
Loading…
Reference in New Issue
Block a user