File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -290,10 +290,11 @@ location @drupal-no-args {
290290 include apps/drupal/fastcgi_no_args_drupal.conf;
291291 fastcgi_pass phpcgi;
292292
293- { %- if nginx_drupal_microcache %}
293+ { % if nginx_drupal_microcache %}
294+ { % if not nginx_drupal_microcache_auth %}
294295 ## FastCGI microcache.
295296 include apps/drupal/microcache_fcgi.conf;
296- { %- if nginx_drupal_microcache_auth %}
297+ { % else %}
297298 ## FCGI microcache for authenticated users also.
298299 include apps/drupal/microcache_fcgi_auth.conf;
299300 { %- endif -%}
@@ -306,9 +307,10 @@ location @drupal-no-args {
306307 proxy_set_header Connection '' ;
307308
308309 { %- if nginx_drupal_microcache %}
310+ { %- if not nginx_drupal_microcache_auth %}
309311 ## Proxy microcache.
310312 include apps/drupal/microcache_proxy.conf;
311- { %- if nginx_drupal_microcache_auth %}
313+ { % else %}
312314 ## Proxy microcache for authenticated users also.
313315 include apps/drupal/microcache_proxy_auth.conf;
314316 { %- endif -%}
You can’t perform that action at this time.
0 commit comments