mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-10 08:35:35 +08:00
Merge pull request #595 from nextcloud/fix/594/apache-not-starting
fix apache not starting
This commit is contained in:
commit
f699c57f07
1 changed files with 4 additions and 2 deletions
|
@ -40,7 +40,8 @@ RUN a2enmod rewrite \
|
|||
|
||||
COPY nextcloud.conf /etc/apache2/sites-available/
|
||||
|
||||
RUN a2dissite 000-default && \
|
||||
RUN set -ex; \
|
||||
a2dissite 000-default && \
|
||||
a2dissite default-ssl && \
|
||||
a2ensite nextcloud.conf && \
|
||||
rm -rf /var/www/html/* && \
|
||||
|
@ -61,7 +62,8 @@ COPY supervisord.conf /
|
|||
RUN chmod +x /usr/bin/start.sh; \
|
||||
chmod +r /supervisord.conf; \
|
||||
chmod a+w /Caddyfile; \
|
||||
chmod a+w /
|
||||
chmod 777 /; \
|
||||
chmod +r -R /etc/apache2
|
||||
|
||||
# Give root a random password
|
||||
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
||||
|
|
Loading…
Add table
Reference in a new issue