Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @silasveta2012,
    Honestly if you would like to use Nginx + PHP then I would highly recommend you to use CentminMod. It works great with this plugin and any WP plugin. The stack is highly optimized and also have a great support forum. I will highly recommend you to try it out.

    Thread Starter Angellive

    (@silasveta2012)

    Thank you, yes this is really interesting, it remains to understand how to make friends with Hestia and CentminMod)

    Plugin Contributor iSaumya

    (@isaumya)

    You can use CentminMod on it’s own without using Hestia.

    Thread Starter Angellive

    (@silasveta2012)

    At the moment, I hardly have enough understanding to deal with this, for me the panels are more convenient and understandable. I will write to the Hestia forum, perhaps they will tell you how best to apply the Nginx code for your plugin, and then we will see. Thank you from the bottom of my heart, you are doing a great job!

    Thread Starter Angellive

    (@silasveta2012)

    Hello, maybe someone will find it useful how to do this, if you take for example the iThemes Security plugin, then it automatically creates the nginx.conf file in the /home/username/example.com directory, and prescribes its settings in it. You can also add settings for any nginx plugins to the same file. It will turn out like this https://drive.google.com/file/d/1xzotGmvKNA2AjHp1vYCmC9dXaNRTzGUn/view?usp=share_link . It would be nice if every WordPress plugin creator thought about it, it would be cool! Thank you for your attention)

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @silasveta2012,
    This plugin also creates a nginx.conf file inside your /wp-content/wp-cloudflare-super-page-cache/example.com folder. The content of that nginx.conf the file can be copy-pasted to your main nginx.conf file that your server is using.

    Thread Starter Angellive

    (@silasveta2012)

    I wonder, are you saying that in order for it to work, it must lie in the main directory of the site, as created by the security plugin? I’m still a little confused, putting the puzzle together in my mind)

    Plugin Contributor iSaumya

    (@isaumya)

    Not really, well based on the setup of your nginx system, you need to look which nginx.conf file is taking effect, copy paste the rules there.

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

The topic ‘customization nginx+php-fpm’ is closed to new replies.