Skip to content
On this page

nginx Proxy for Headless CMS ‚Äč

This is an awesome and clean way of using NodeJS and/or PHP in one project within DDEV!

I'm not quite finished adapting this to work with PHP + NodeJS combined in DDEV, but as I heard some people do it this way already.

The NodeJS project will be in a separate subfolder like frontend/, php in the main folder. The trick is the custom nginx configuration for the NodeJS project + the additional hostname in .ddev/config.yaml.

Thanks very much to Andy Blum for writing https://www.lullabot.com/articles/nodejs-development-ddev!