kasperisager / php-dockerized

Dockerized PHP development stack: Nginx, MySQL, MongoDB, PHP-FPM, HHVM, Memcached, Redis, Elasticsearch and RabbitMQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i place multiple projects in the www folder

raheelkhan opened this issue · comments

I have made a new folder inside the www folder. But when i access localhost/myproject, It still goes to the default/index.php page.

You will need to define a server block for each site in the www directory. You can do this by copying the default.vhost file in the sites directory and then tweaking the config for your new site. You will likely only need to change the server_name and root properties.

Yeah it worked thanks