aaPanel_Kern
I have a question regarding the enable-php-81-wpfastcgi.conf
file, when comparing it to enable-php-81.conf
it is missing this line:
include pathinfo.conf;
Is this on purpose? If I add this back to the enable-php-81-wpfastcgi.conf
file my site works, no more 404. But there is another problem, all pages are nginx-cache: BYPASS
. But that is also because of this clause in enable-php-81-wpfastcgi.conf
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|/feed/|index.php|sitemap(_index)?.xml") {
set $skip_cache 1;
}
If I remove index.php from this line, everything is working as intended, nginx-cache: HIT
. Why is index.php skipped in the first place?
I know this is specific for my wordpress permalink setup, but I think I didn't change it from the default wordpress setting so this might effect other people too.