Switching web servers using Build Configs

Have you been in a situation where you needed to switch something in a project, like the type of database or a payment provider?

Today, I decided to switch a project from NGINX to Apache.

Usually, this would involve using a different base Docker image, creating new configuration files, and changing things like the root directory for my project.

But, because I'd built this into Build Configs, I was able to change a few lines in one file, and when I re-generated the configuration files, this project was running Apache.

This is an excellent example of why I built this tool: to save time and reduce duplication across my projects.

For this change, it did both.

- Oliver

P.S. Do you need immediate access to an expert Drupal Developer? With my Drupal development subscription, make unlimited requests for a fixed monthly price in less time than posting to a job board!

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.