Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run a virtual host #5

Closed
geshan opened this issue Jun 21, 2014 · 1 comment
Closed

How to run a virtual host #5

geshan opened this issue Jun 21, 2014 · 1 comment

Comments

@geshan
Copy link

geshan commented Jun 21, 2014

How do I run a virtual host like test.dev. I made a test.dev file changing the folder to /var/www/test.dev and added the test.dev in my hosts file and to the dockerfile with ADD. But I cannot run it. How do I do this?

@fideloper
Copy link
Owner

Do you mean how do you configure Nginx for multiple sites? Did you edit https://github.com/fideloper/docker-nginx-php/blob/master/build/default to match the new DocumentRoot and servername before building the container?

root /var/www/test.dev;

server_name localhost test.dev;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants