mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Make sure that the sites are really gone
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
0397f30bb5
commit
77613f456c
2 changed files with 10 additions and 1 deletions
|
|
@ -46,6 +46,10 @@ RUN rm /etc/apache2/ports.conf; \
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
a2dissite 000-default && \
|
a2dissite 000-default && \
|
||||||
a2dissite default-ssl && \
|
a2dissite default-ssl && \
|
||||||
|
rm -f /etc/apache2/sites-enabled/000-default.conf && \
|
||||||
|
rm -f /etc/apache2/sites-enabled/default-ssl.conf && \
|
||||||
|
rm /etc/apache2/sites-available/000-default.conf && \
|
||||||
|
rm /etc/apache2/sites-available/default-ssl.conf && \
|
||||||
a2ensite nextcloud.conf && \
|
a2ensite nextcloud.conf && \
|
||||||
rm -rf /var/www/html/* && \
|
rm -rf /var/www/html/* && \
|
||||||
chown www-data:www-data -R /var/log/apache2; \
|
chown www-data:www-data -R /var/log/apache2; \
|
||||||
|
|
|
||||||
|
|
@ -76,8 +76,13 @@ RUN rm /etc/apache2/ports.conf; \
|
||||||
sed -s -i -e "s/Include ports.conf//" /etc/apache2/apache2.conf; \
|
sed -s -i -e "s/Include ports.conf//" /etc/apache2/apache2.conf; \
|
||||||
sed -i "/^Listen /d" /etc/apache2/apache2.conf
|
sed -i "/^Listen /d" /etc/apache2/apache2.conf
|
||||||
|
|
||||||
RUN a2dissite 000-default && \
|
RUN set -ex; \
|
||||||
|
a2dissite 000-default && \
|
||||||
a2dissite default-ssl && \
|
a2dissite default-ssl && \
|
||||||
|
rm -f /etc/apache2/sites-enabled/000-default.conf && \
|
||||||
|
rm -f /etc/apache2/sites-enabled/default-ssl.conf && \
|
||||||
|
rm /etc/apache2/sites-available/000-default.conf && \
|
||||||
|
rm /etc/apache2/sites-available/default-ssl.conf && \
|
||||||
a2ensite mastercontainer.conf
|
a2ensite mastercontainer.conf
|
||||||
|
|
||||||
RUN mkdir /var/log/supervisord; \
|
RUN mkdir /var/log/supervisord; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue