Official drupal recipe for nginx

Maxim Dounin mdounin at
Sat Jul 29 23:31:35 UTC 2017


On Wed, Jul 26, 2017 at 07:09:07PM +0000, Edward Ned Harvey (nginx) wrote:

> I'm a sysadmin at a large organization, where we use a lot of 
> drupal on nginx (hundreds of sites).
> Recently, we encountered two bugs related to drupal 8 vs nginx 
> config. I reached out to some friends of mine who are drupal 
> core developers, and essentially it boils down to this: They 
> don't have an official nginx config, so they don't test drupal 
> releases on nginx except manually, only in response to bug 
> reports. So nginx-related bugs tend to get released to the 
> public, and they tend to take a long time before they're 
> resolved. This is a major problem for anybody running drupal on 
> nginx, because any drupal security updates that come out can't 
> be applied as long as some other drupal-nginx bug is 
> show-stopping. Case in point: The incident that recently forced 
> me into all this was when one of our site maintainers tried to 
> update drupal core 8.2.7 to 8.3.5 in order to get security fixes 
> released in 8.3.4, but after the update, the site ended up 
> completely broken. The root cause of that one is related to 
> nginx config - and that issue is solved by updating to the 
> latest nginx drupal 8 recipe 
> (  
> Unfortunately, the new recipe causes Responsive Images to break, 
> so we still can't publish the updated website to production.
> So now I'm reaching out to all you lovely nginx developers to 
> find out if there's any chance of improving this. It would mean 
> some of you (probably whoever wrote the drupal 8 nginx recipe) 
> working with drupal developers probably on an ongoing basis, to 
> create and maintain an official nginx config that they test on.

The recipes as found in the wiki are user-contributed, much like 
all the wiki contents.  Please don't expect that nginx developers 
understand anything about Drupal and/or worked on these recipes.

If you have anything to improve in the recipe, feel free to 

Maxim Dounin

More information about the nginx-devel mailing list