Apache Mass Virtual Host for PHP and static HTML websites.
- Uses Debian base image
- Thin Container. Optionally uses linked MariaDB and SMTP containers for those services.
- Mod PHP5 enabled
- Both "www" and "naked" domains are served from files found at
/srv/www/sitename
- Mass virtual host. No additional configuration required to add additional domains. Just create the "sitename" directory and the contents will be automatically served for the "sitename" domain.
SMTP Setting:
SMTP_PORT
SMTP_HOST
or --link
your smtp container. msmtp
is used for mail delivery. So PHP mail()
function works without configuration changes.
Other:
BEHIND_PROXY
- Proxy helper: Default: False. Set to true to preloadProxyHelper_prepend.php
which will register the remote IP and SSL status (when using compatible X- proxy headers).PROCESS_MOUNTFILES
Default: False. Set to true to process MountfilesREMOTE_BASE
Default:/srv/remote
remote data mount for Mountfiles
Apache MPM Tuning:
MPM_START
- Optional: Default '5'MPM_MINSPARE
- Optional: Default '5'MPM_MAXSPARE
- Optional: Default '10'MPM_MAXWORKERS
- Optional: Default '150'MPM_MAXCONNECTIONS
- Optional: Default '0'
Production ready.