-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Support multiple docroots for projects #1850
Comments
Hi @arysom - If I understand right you're talking about two different webservers with two different docroots. There are a number of ways to approach this:
|
I've tried 2. and 4. but can't make it. I think I'll go with custom nginx configuration. |
Hi @rfay . I've reported this issue as "feature request" . This could be useful if we could easily add two webroots at the same time. But of course it would be a bonus. I'm satisfied how the ddev now works and I recommend this project. Feel free to close this issue. Thank you. |
Thanks @arysom - Could you give some detail here about how you solved it? Alternately, do a PR with more extensive description of how to solve it in https://github.com/drud/ddev-contrib |
I mean I would like to request such feature :) For now, I haven't solved this yet. |
Hi @rfay ,
Also I've set additional hostnames option in config.yaml
Maybe someone could write a line about this in docs. Thank you. |
What about adding something like this |
I'm going to close this one in favor of #1889 , thanks all! |
There is a Yii framework written in PHP and it has advanced template. They even have their own docker setup, which I've tried and failed. The advanced template consists of project root and two separate directories
frontend
backend
which are two different domains that use the project root - probably directorycommon
is important.I would like to have one ddev setup pointing to two different directories with two different domains and share the base.
I've tried to modify docker-compose inside .ddev folder.
Is it even possible now maybe? I can fire up frontend and backend separately but not at the same time.
Thank you.
The text was updated successfully, but these errors were encountered: