• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue nginxDomainVirtualHost.php wrongly denies access to .ht*

TimReeves

Regular Pleskian
<?php if (!$VAR->domain->physicalHosting->proxySettings['nginxProxyMode']): ?>
location ~ /\.ht {
deny all;
}
<?php endif ?>

So it's saying: If Nginx proxy mode is NOT selected, deny access to .ht* - but in non-proxy mode, .ht* has no special meaning, as nothing is passed to Apache.

I think the test should be the other way around: Deny access to .ht* IF Nginx is proxying to Apache.

For me, this statement torpedoes Nextcloud trying to sync .ht* files stored on my PC for other projects )-:

Cheers, Tim
 
Back
Top