no .htaccess but our own apache config
This commit is contained in:
@@ -13,6 +13,12 @@ RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.li
|
||||
|
||||
RUN touch /usr/src/nextcloud/data/.ocdata
|
||||
COPY config.php /usr/src/nextcloud/config/
|
||||
#COPY htaccess-data /usr/src/nextcloud/data/.htaccess
|
||||
COPY apache-default-vhost.conf /etc/apache2/sites-available/000-default.conf
|
||||
RUN mv /usr/src/nextcloud/.htaccess /usr/src/nextcloud/.htaccess.bak
|
||||
RUN mv /usr/src/nextcloud/config/.htaccess /usr/src/nextcloud/config/.htaccess.bak
|
||||
|
||||
#install ca.crt update script to the container
|
||||
|
||||
COPY post-start.sh /
|
||||
RUN chmod +x /post-start.sh
|
||||
|
||||
Reference in New Issue
Block a user