Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/container.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorSameer Naik <sameer@damagehead.com>2016-01-02 20:53:57 +0300
committerSameer Naik <sameer@damagehead.com>2016-01-02 20:53:57 +0300
commitf6e3b9de772a2a9dc6352728324dcb842cedde52 (patch)
tree0756d531670011c02b5d1cdd7ab187fa365c1ba7 /assets
parent8d2a5e666ddb819f7fb9268895bb3d5be6c251ba (diff)
remove default nginx virtualhost
Diffstat (limited to 'assets')
-rw-r--r--assets/build/install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/build/install.sh b/assets/build/install.sh
index 14f4511..84f5347 100644
--- a/assets/build/install.sh
+++ b/assets/build/install.sh
@@ -22,6 +22,9 @@ sed -i "s|[;]*[ ]*always_populate_raw_post_data = .*|always_populate_raw_post_da
echo "output_buffering=off"
) > ${OWNCLOUD_INSTALL_DIR}/.user.ini
+# remove default nginx virtualhost
+rm -rf /etc/nginx/sites-enabled/default
+
# set directory permissions
find ${OWNCLOUD_INSTALL_DIR}/ -type f -print0 | xargs -0 chmod 0640
find ${OWNCLOUD_INSTALL_DIR}/ -type d -print0 | xargs -0 chmod 0750