• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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