rutorrent: fix again nginx permissions problems

This commit is contained in:
Wonderfall 2016-05-02 20:48:22 +02:00
parent 167b831c59
commit 184caa65f7
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,9 @@ http {
access_log /var/log/nginx/access.log combined;
error_log /var/log/nginx/error.log error;
fastcgi_temp_path /tmp 1 2;
fastcgi_temp_path /tmp/fastcgi 1 2;
scgi_temp_path /tmp/scgi 1 2;
client_body_temp_path /tmp/client_body 1 2;
sendfile on;
keepalive_timeout 15;

View File

@ -8,6 +8,7 @@ mkdir -p /data/Media/Movies
mkdir -p /data/Media/TV
mkdir -p /data/Media/Animes
mkdir -p /data/Media/Music
mkdir /tmp/fastcgi /tmp/scgi /tmp/client_body
if [ $WEBROOT != "/" ]; then
sed -i 's|<webroot>|'${WEBROOT}'|g' /sites/rutorrent.conf