diff --git a/README.md b/README.md index c35b988..1141c35 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,25 @@ location /radarr { - Restart containers. +# Sonarr Nginx reverse proxy + +- Settings --> General --> URL Base --> Add base (/sonarr) +- Add below proxy in nginx configuration + +``` +location /radarr { + proxy_pass http://sonarr:8989; + 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 - Get inside jackett container and go to `/config/Jackett/` diff --git a/post-deploy.sh b/post-deploy.sh old mode 100644 new mode 100755 index 58963a3..bbd9383 --- a/post-deploy.sh +++ b/post-deploy.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -docker exec -it transmission mkdir /downloads/movies -docker exec -it transmission mkdir chown 1000:1000 /downloads/movies +docker exec -it transmission chown -R 1000:1000 /downloads/movies -docker exec -it transmission mkdir /downloads/tvshows -docker exec -it transmission mkdir chown 1000:1000 /downloads/tvshows \ No newline at end of file +docker exec -it transmission chown -R 1000:1000 /downloads/tvshows \ No newline at end of file