Hello @tvphuong41,
Thank you for your review.
NPP follows all include directives in nginx.conf to also try parsing virtual host .conf files and detect informational metrics such as nginx cache paths. I’m not familiar with how FastPanel handles nginx configuration or directory layout, permissions, and there are many different control panels, so some settings may need to be adjusted manually. This is not an NPP-related parse error; it is likely that the PHP-FPM user cannot traverse or read the included .conf files due to insufficient permissions.
Try to set chmod 0644 for all .conf files so it can be readable by PHP-FPM user. Also don’t forget the Clear Plugin Cache on Status tab to re-parse informational metrics.
Also there are many good tutorials available that explain how to configure nginx cache correctly.
Best~Hasan
I see the user with permissions to manage the /etc/nginx/ directory and all *.conf is root
the user of the website is fastuser, so is there any way to fix it, I am new and do not know much about configuration. Thank you for supporting me
Hello,
I’m happy to help with anything plugin-specific. Unfortunately, the server/control-panel configuration side (FastPanel permissions/layout for NGINX include files) needs to be handled by FastPanel support or your hosting admin.
Best~Hasan