Title: customization nginx+php-fpm
Last modified: April 15, 2023

---

# customization nginx+php-fpm

 *  Resolved [Angellive](https://wordpress.org/support/users/silasveta2012/)
 * (@silasveta2012)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/)
 * Hello, you are doing a great job creating great plugins, and I have been using
   your masterpiece for a long time. The idea came to me that it would be good to
   move to nginx+php-fpm, abandon apache. Honestly, I don’t understand very well,
   but there is a huge interest in understanding. Now the essence, installed HestiaCP
   nginx+php-fpm PHP 8.1, there is an article [https://hestiacp.com/docs/server-administration/web-templates.html](https://hestiacp.com/docs/server-administration/web-templates.html)
 * [https://drive.google.com/file/d/1flcgvl3D4qlLt88dI7Gn6YgM3iWXH4OF/view?usp=sharing](https://drive.google.com/file/d/1flcgvl3D4qlLt88dI7Gn6YgM3iWXH4OF/view?usp=sharing)
 * [https://drive.google.com/file/d/1yks_uvrJ3_SydoMA0KbeY0uENYb5f16x/view?usp=sharing](https://drive.google.com/file/d/1yks_uvrJ3_SydoMA0KbeY0uENYb5f16x/view?usp=sharing)
 * , you have Nginx settings in the plugin [https://drive.google.com/file/d/16CuZG7heGUNKXXOeaaw3DkGZXQaF1Nra/view?usp=sharing](https://drive.google.com/file/d/16CuZG7heGUNKXXOeaaw3DkGZXQaF1Nra/view?usp=sharing).
   In my understanding, it does not fit how you can apply your settings, in the 
   ways recommended by Hestia, as I understand it, Hestia does not offer to use 
   Nginx templates, but suggests making changes to .user. ini [https://drive.google.com/file/d/1TF6rn60-eZvIC_vEGSvjamcYo2Dz5QD0/view?usp=sharing](https://drive.google.com/file/d/1TF6rn60-eZvIC_vEGSvjamcYo2Dz5QD0/view?usp=sharing).
   Of course, this is probably not the topic of plugin support, since it now caches
   everything correctly on the site [https://drive.google.com/file/d/1×1-pLIO25fYmQlkkxXZdA_YuuQ4hdh0M/view?usp=sharing](https://drive.google.com/file/d/1×1-pLIO25fYmQlkkxXZdA_YuuQ4hdh0M/view?usp=sharing),
   but with clearing the cache when making changes may also be difficult. Please
   help me understand what is the best way to do this? Thank you very much
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustomization-nginxphp-fpm%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16661508)
 * Hi [@silasveta2012](https://wordpress.org/support/users/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](https://wordpress.org/support/users/silasveta2012/)
 * (@silasveta2012)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16661566)
 * Thank you, yes this is really interesting, it remains to understand how to make
   friends with Hestia and CentminMod)
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16661600)
 * You can use CentminMod on it’s own without using Hestia.
 *  Thread Starter [Angellive](https://wordpress.org/support/users/silasveta2012/)
 * (@silasveta2012)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16661625)
 * 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](https://wordpress.org/support/users/silasveta2012/)
 * (@silasveta2012)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16671627)
 * 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](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](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16671885)
 * Hi [@silasveta2012](https://wordpress.org/support/users/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](https://wordpress.org/support/users/silasveta2012/)
 * (@silasveta2012)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16671949)
 * 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](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16671993)
 * 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.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/customization-nginxphp-fpm/#post-16671993)
 * Status: resolved