Problem/Motivation

According to the Nginx documentation when the HTTP code is returned, it should be preceded with an equal sign.

Currently every nginx vhost generated contains a few lines like
try_files $uri 404;

while it should be

try_files $uri =404;

Steps to reproduce

All virtual hosts contain slightly misconfigured try_files directive.

Proposed resolution

Update the letsencrypt_provision_nginx_vhost_config() function

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dpovshed created an issue. See original summary.

dpovshed’s picture

Status: Active » Needs review

The fix is proposed in the dedicated branch