* Thu Sep 25 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-2.sme

- CSP relaxed policy
- revert authentication
- httpd syntax fix
- smanager improvement
This commit is contained in:
2025-09-25 12:38:42 -04:00
parent c8ce77259d
commit fcb9a8fbf7
4 changed files with 21 additions and 15 deletions

View File

@@ -4,10 +4,12 @@ Alias /phpsysinfo /opt/phpsysinfo
<Directory /opt/phpsysinfo>
SSLRequireSSL
Options -Indexes
#AuthName "phpSysInfo"
#AuthBasicProvider external
#AuthType Basic
#AuthExternal pwauth
AuthName "phpSysInfo"
AuthBasicProvider external
AuthType Basic
AuthExternal pwauth
Header set Content-Security-Policy "script-src 'self' 'unsafe-eval' 'unsafe-hashes' 'unsafe-inline' "
<RequireAll>
Require {(($phpmyadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";}
@@ -18,4 +20,4 @@ Alias /phpsysinfo /opt/phpsysinfo
SetHandler "proxy:unix:/var/run/php-fpm/php.sock|fcgi://localhost"
</FilesMatch>
</Directory>
</Directory>