• Resolved Phuong Tong

    (@tvphuong41)


    i use fastpanel, if i put fastcgi_cache_path in nginx.conf then plugin detect fastcgi_cache_path
    but keyzone set in server { does not receive.
    i put fastcgi_cache_path on server block { my fastcgi_cache works but your plugin does not receive fastcgi_cache_path
    thank you very much for creating the plugin. i installed it successfully. it is awesome

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hasan CALISIR

    (@psauxit)

    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

    Thread Starter Phuong Tong

    (@tvphuong41)

    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

    Plugin Author Hasan CALISIR

    (@psauxit)

    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

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.