mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 12:29:16 +00:00
nextcloud: fix #34
This commit is contained in:
parent
10d9e0e884
commit
9eef12112d
@ -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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user