nextcloud: fix #34

This commit is contained in:
Wonderfall 2016-09-16 22:15:23 +02:00
parent 10d9e0e884
commit 9eef12112d
6 changed files with 6 additions and 6 deletions

View File

@ -24,6 +24,7 @@ http {
fastcgi_temp_path /tmp/fastcgi 1 2; fastcgi_temp_path /tmp/fastcgi 1 2;
client_body_temp_path /tmp/client_body 1 2; client_body_temp_path /tmp/client_body 1 2;
proxy_temp_path /tmp/proxy 1 2;
gzip on; gzip on;
gzip_comp_level 5; gzip_comp_level 5;

View File

@ -4,8 +4,7 @@ if [ ! -f /config/config.php ]; then
echo -e "<?php\n\$CONFIG = array (\n 'datadirectory' => '/data',\n);" > /config/config.php echo -e "<?php\n\$CONFIG = array (\n 'datadirectory' => '/data',\n);" > /config/config.php
fi fi
mkdir /tmp/fastcgi /tmp/client_body chown -R $UID:$GID /nextcloud /data /config /apps2 /etc/nginx /etc/php7 /var/log /var/lib/nginx /tmp /etc/s6.d
chown -R $UID:$GID /nextcloud /data /config /apps2 /etc/nginx /etc/php7 /var/log/nginx /var/log/php7 /var/lib/nginx /tmp /etc/s6.d
ln -s /config/config.php /nextcloud/config/config.php ln -s /config/config.php /nextcloud/config/config.php
ln -s /apps2 /nextcloud ln -s /apps2 /nextcloud

View File

@ -24,6 +24,7 @@ http {
fastcgi_temp_path /tmp/fastcgi 1 2; fastcgi_temp_path /tmp/fastcgi 1 2;
client_body_temp_path /tmp/client_body 1 2; client_body_temp_path /tmp/client_body 1 2;
proxy_temp_path /tmp/proxy 1 2;
gzip on; gzip on;
gzip_comp_level 5; gzip_comp_level 5;

View File

@ -4,8 +4,7 @@ if [ ! -f /config/config.php ]; then
echo -e "<?php\n\$CONFIG = array (\n 'datadirectory' => '/data',\n);" > /config/config.php echo -e "<?php\n\$CONFIG = array (\n 'datadirectory' => '/data',\n);" > /config/config.php
fi fi
mkdir /tmp/fastcgi /tmp/client_body chown -R $UID:$GID /nextcloud /data /config /apps2 /etc/nginx /etc/php7 /var/log /var/lib/nginx /tmp /etc/s6.d
chown -R $UID:$GID /nextcloud /data /config /apps2 /etc/nginx /etc/php7 /var/log/nginx /var/log/php7 /var/lib/nginx /tmp /etc/s6.d
ln -s /config/config.php /nextcloud/config/config.php ln -s /config/config.php /nextcloud/config/config.php
ln -s /apps2 /nextcloud ln -s /apps2 /nextcloud

View File

@ -24,6 +24,7 @@ http {
fastcgi_temp_path /tmp/fastcgi 1 2; fastcgi_temp_path /tmp/fastcgi 1 2;
client_body_temp_path /tmp/client_body 1 2; client_body_temp_path /tmp/client_body 1 2;
proxy_temp_path /tmp/proxy 1 2;
gzip on; gzip on;
gzip_comp_level 5; gzip_comp_level 5;

View File

@ -4,8 +4,7 @@ if [ ! -f /config/config.php ]; then
echo -e "<?php\n\$CONFIG = array (\n 'datadirectory' => '/data',\n);" > /config/config.php echo -e "<?php\n\$CONFIG = array (\n 'datadirectory' => '/data',\n);" > /config/config.php
fi fi
mkdir /tmp/fastcgi /tmp/client_body chown -R $UID:$GID /nextcloud /data /config /apps2 /etc/nginx /etc/php7 /var/log /var/lib/nginx /tmp /etc/s6.d
chown -R $UID:$GID /nextcloud /data /config /apps2 /etc/nginx /etc/php7 /var/log/nginx /var/log/php7 /var/lib/nginx /tmp /etc/s6.d
ln -s /config/config.php /nextcloud/config/config.php ln -s /config/config.php /nextcloud/config/config.php
ln -s /apps2 /nextcloud ln -s /apps2 /nextcloud