diff --git a/Sources/config/virtual-host.conf b/Sources/config/virtual-host.conf new file mode 100644 index 00000000..095b7644 --- /dev/null +++ b/Sources/config/virtual-host.conf @@ -0,0 +1,39 @@ + + ServerName default + + + Options FollowSymLinks + AllowOverride None + Require all denied + + + + AllowOverride All + Require all granted + + + DocumentRoot ${VOLUME_PATH} + + AccessFileName .htaccess + + Require all denied + + + LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined + LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined + LogFormat "%h %l %u %t \"%r\" %>s %O" common + LogFormat "%{Referer}i -> %U" referer + LogFormat "%{User-agent}i" agent + + CustomLog /proc/self/fd/1 combined + + + SetHandler application/x-httpd-php + + + # Multiple DirectoryIndex directives within the same context will add + # to the list of resources to look for rather than replace + # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex + DirectoryIndex disabled + DirectoryIndex index.php index.html + \ No newline at end of file