aio-apache configuration now uses NEXTCLOUD_HOST env variable (#1173)

instead of hardcoded container name
This commit is contained in:
Mustapha Zorgati 2022-09-19 23:43:42 +02:00
parent bfcbc41141
commit 6e2872b953
No known key found for this signature in database
GPG key ID: BFF92FDA34CDC6FB

View file

@ -2,7 +2,7 @@ Listen 8000
<VirtualHost *:8000>
# PHP match
<FilesMatch "\.php$">
SetHandler "proxy:fcgi://nextcloud-aio-nextcloud:9000"
SetHandler "proxy:fcgi://${NEXTCLOUD_HOST}:9000"
</FilesMatch>
# Nextcloud dir
DocumentRoot /var/www/html/