Skip to content

Commit bf4d917

Browse files
author
Pierre Buyle
committed
Fix previous commit (duh!)
1 parent 8e8f35e commit bf4d917

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/nginx.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ http {
170170
## Block MIME type sniffing on IE.
171171
add_header X-Content-Options nosniff;
172172

173-
{% if nginx_drupal_php_handling == 'proxy' %}
173+
{% if nginx_drupal_php_handling != 'proxy' %}
174174
## Include the upstream servers for PHP FastCGI handling config.
175175
include upstream_php.conf;
176-
{% else %}
176+
{% endif %}
177177

178178
## Include the map to block HTTP methods.
179179
include map_block_http_methods.conf;
@@ -197,7 +197,7 @@ http {
197197
{% if nginx_drupal_php_handling == 'proxy' %}
198198
include reverse_proxy.conf;
199199
include upstream_php.conf;
200-
{% else %}
200+
{% endif %}
201201

202202
## Include the php-fpm status allowed hosts configuration block.
203203
## Uncomment to enable if you're running php-fpm.

0 commit comments

Comments
 (0)