• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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