mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-12 08:40:16 +00:00
migrate mastercontainer to alpine (#1577)
This commit is contained in:
parent
123c1be6b7
commit
4e74052c20
4 changed files with 86 additions and 42 deletions
|
|
@ -239,8 +239,8 @@ chown root:root -R /mnt/docker-aio-config/certs/
|
|||
|
||||
# Don't allow access to the AIO interface from the Nextcloud container
|
||||
# Probably more cosmetic than anything but at least an attempt
|
||||
if ! grep -q '# nextcloud-aio-block' /etc/apache2/apache2.conf; then
|
||||
cat << APACHE_CONF >> /etc/apache2/apache2.conf
|
||||
if ! grep -q '# nextcloud-aio-block' /etc/apache2/httpd.conf; then
|
||||
cat << APACHE_CONF >> /etc/apache2/httpd.conf
|
||||
# nextcloud-aio-block-start
|
||||
<Location />
|
||||
order allow,deny
|
||||
|
|
@ -277,4 +277,7 @@ https://your-domain-that-points-to-this-server.tld:8443"
|
|||
# Set the timezone to UTC
|
||||
export TZ=UTC
|
||||
|
||||
# Fix apache startup
|
||||
rm -f /var/run/apache2/httpd.pid
|
||||
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue