webdevops / php-docker-boilerplate

:stew: PHP Docker Boilerplate for Symfony, Wordpress, Joomla or any other PHP Project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
https://webdevops.io/projects/php-docker-boilerplate/
MIT License
561 stars 185 forks source link

Added apache/nginx vhost configuration with custom extra parameters by vhost #49

Closed frleb closed 6 years ago

frleb commented 8 years ago

You can specify additional parameters by vhost with the key vhost_extra.

Here is an example: In the file etc/application.(developement|production).yml :

WEB: vhost:

Also, I fixed the permissions on the vhost.conf file by removing the execute flag.

The serverAlias is now optional, because we dont want to set the same *.domain.com for each vhost (a|b|c|...).domain.com.