mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
rutorrent: fix again nginx permissions problems
This commit is contained in:
parent
167b831c59
commit
184caa65f7
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user