#!/usr/bin/bash # pluie/docker-images - a-Sansara (https://github.com/a-sansara) if [ ! -z "/app/vhost" ]; then cat < "/app/vhost" ServerName $HTTP_SERVER_NAME AllowOverride None Require all granted DirectoryIndex index.php Options -MultiViews +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L] # IncludeOptional /app/vhost2 EOF fi