
# phpsysinfo
Alias /phpsysinfo /opt/phpsysinfo
<Directory /opt/phpsysinfo>
    SSLRequireSSL
    Options -Indexes
    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";}
    </RequireAll>

    AddType application/x-httpd-php .php .php3
    <FilesMatch .php$>
        SetHandler "proxy:unix:/var/run/php-fpm/php.sock|fcgi://localhost"
    </FilesMatch>

</Directory>
