Add doc
This commit is contained in:
parent
06027d185a
commit
e4d94a12d9
103
README.md
103
README.md
@ -36,6 +36,7 @@ docker run -d --name=jellyfin -e PUID=1000 -e PGID=1000 -e TZ=Europe/Lon
|
||||
- Settings --> Indexers --> Add --> Add Rarbg indexer --> Add minimum seeder (4) --> Test --> Save
|
||||
- Settings --> Indexers --> Add --> Torznab --> Follow steps from Jackett to add indexer
|
||||
- Settings --> Download clients --> Transmission --> Add Host (transmission) and port (9091) --> Username and password if added --> Test --> Save
|
||||
- Settings --> General --> Enable advance setting --> Select AUthentication and add username and password
|
||||
|
||||
# Add a movie
|
||||
|
||||
@ -48,6 +49,18 @@ docker run -d --name=jellyfin -e PUID=1000 -e PGID=1000 -e TZ=Europe/Lon
|
||||
- Configure as it asks for first time.
|
||||
- Add media library folder and choose /data/movies/
|
||||
|
||||
# Configure Jackett
|
||||
|
||||
- Add admin password
|
||||
|
||||
# Apply SSL in Nginx
|
||||
|
||||
- Open port 80 and 443.
|
||||
- Get inside Nginx container and install certbot and certbot-nginx `apk add certbot certbot-nginx`
|
||||
- Add URL in server block. e.g. `server_name localhost armdev.navratangupta.in;` in /etc/nginx/conf.d/default.conf
|
||||
- Run `certbot --nginx` and provide details asked.
|
||||
|
||||
|
||||
# Configure Nginx
|
||||
|
||||
- Get inside Nginx container
|
||||
@ -67,9 +80,97 @@ location /radarr {
|
||||
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_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
}
|
||||
```
|
||||
|
||||
- Restart containers.
|
||||
|
||||
# Jackett Nginx reverse proxy
|
||||
|
||||
To be added
|
||||
- Get inside jackett container and go to `/config/Jackett/`
|
||||
- Add `"BasePathOverride": "/jackett"` in ServerConfig.json file.
|
||||
- Add below proxy
|
||||
|
||||
```
|
||||
location /jackett/ {
|
||||
proxy_pass http://jackett:9117;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection keep-alive;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
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;
|
||||
}
|
||||
```
|
||||
|
||||
- Restart containers
|
||||
|
||||
# Transmission Nginx reverse proxy
|
||||
|
||||
- Add below proxy in Nginx config
|
||||
|
||||
```
|
||||
location ^~ /transmission {
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-NginX-Proxy true;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
proxy_pass_header X-Transmission-Session-Id;
|
||||
add_header Front-End-Https on;
|
||||
|
||||
location /transmission/rpc {
|
||||
proxy_pass http://transmission:9091;
|
||||
}
|
||||
|
||||
location /transmission/web/ {
|
||||
proxy_pass http://transmission:9091;
|
||||
}
|
||||
|
||||
location /transmission/upload {
|
||||
proxy_pass http://transmission:9091;
|
||||
}
|
||||
|
||||
location /transmission {
|
||||
return 301 https://$host/transmission/web;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
# Jellyfin Nginx proxy
|
||||
|
||||
- Add base URL, Admin Dashboard -> Networking -> Base URL (/jellyfin)
|
||||
- Add below config in Ngix config
|
||||
|
||||
```
|
||||
location /jellyfin {
|
||||
return 302 $scheme://$host/jellyfin/;
|
||||
}
|
||||
|
||||
location /jellyfin/ {
|
||||
|
||||
proxy_pass http://jellyfin:8096/jellyfin/;
|
||||
|
||||
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;
|
||||
|
||||
# Disable buffering when the nginx proxy gets very resource heavy upon streaming
|
||||
proxy_buffering off;
|
||||
}
|
||||
```
|
||||
- Restart containers
|
Loading…
Reference in New Issue
Block a user