I dont know why Apache still preferred, nginx has proven capability in YEARS. Maybe for business purpose so Litespeed could shine ??
Yes, we are working on this and it's only a matter of time. The main problem is that there are too many dependencies on the Apache from the past.I ever read that Igor said that Plesk will have PURE nginx version but until now its not happened.
Yes, we are working on this and it's only a matter of time. The main problem is that there are too many dependencies on the Apache from the past.
really???Hello,
you can also disable the option "Serve static files directly by Nginx"
<?php if ($VAR->domain->active && $VAR->domain->physicalHosting->proxySettings['nginxServeStatic']): ?>
location @fallback {
<?php if ($VAR->domain->physicalHosting->proxySettings['nginxProxyMode']): ?>
<?php echo $VAR->includeTemplate('domain/service/proxy.php', $OPT) ?>
<?php else: ?>
return 404;
<?php endif ?>
}
location ~ ^/(.*\.(<?php echo $VAR->domain->physicalHosting->proxySettings['nginxStaticExtensions'] ?>))$ {
try_files $uri @fallback;
<?php if ($VAR->domain->physicalHosting->expires && $VAR->domain->physicalHosting->expiresStaticOnly): ?>
expires <?=$VAR->quote($VAR->domain->physicalHosting->expires)?>;
<?php endif ?>
}
<?php endif ?>
really???
this helps? by adding proxy template to nginx conf
block 1 = serve static files OFF (PROXIED MODE)
Code:<?php if ($VAR->domain->active && $VAR->domain->physicalHosting->proxySettings['nginxServeStatic']): ?> location @fallback { <?php if ($VAR->domain->physicalHosting->proxySettings['nginxProxyMode']): ?> <?php echo $VAR->includeTemplate('domain/service/proxy.php', $OPT) ?> <?php else: ?> return 404; <?php endif ?> }
block 2 = serve static files ON (NGINX only Mode)
Code:location ~ ^/(.*\.(<?php echo $VAR->domain->physicalHosting->proxySettings['nginxStaticExtensions'] ?>))$ { try_files $uri @fallback; <?php if ($VAR->domain->physicalHosting->expires && $VAR->domain->physicalHosting->expiresStaticOnly): ?> expires <?=$VAR->quote($VAR->domain->physicalHosting->expires)?>; <?php endif ?> } <?php endif ?>
Sure. We a going to create pure "Nginx only mode" in addition to existing.Please leave the option of Apache + nginx in place. Its actually the sole reason I came back for Plesk
Thats a very good news to me. Thank you.Yes, we are working on this and it's only a matter of time. The main problem is that there are too many dependencies on the Apache from the past.
how about integrate nginx pagespeed ?
May I request to not include "location /" directive in nginx main template ?
Did you work with nginx pagespeed? .
I follow this Contribution - How to compile NGINX with additional modules ( pagespeed / cache_purge / headers-more / and others ) and Im very happy with the performance of all of my Drupal sites. I also added advance css/js aggregation module.