i have installed hestiacp with a light wordpress installation as described here including cloudflare dns settings:
what would be the lightest possible setup to run a wordpress site and making sure it runs very fast?
on this page i found a very easy light setup. does anybody use this kind of setup? do you have any recommendations?
Nginx + PHP + MySQL/MariaDB – without Apache .
sudo bash hst-install.sh --apache no --phpfpm yes --multiphp no --vs…
Moreover i have installed the “Hestia Nginx Cache” plugin and set everything:
Domain to purge
all set according to hestiacp settings.
I am not sure what are the correct settings for:
I have set server port to 8083. But what is the server hostname? i tried entering my domainname, but i think this is not correct.
When i am in the wordpress setting of the “Hestia Nginx Cache” plugin and try to purge cache, I am getting error: “The Hestia Nginx Cache could not be purged!”
Could you help me?
Use your server hostname or server. With Cloudlfare it will always block by default
thanks a lot for clarification about hostname. it was the hostname setting in the vpn-dashboard, not the settings in hestiacp.
i was now able to purge the cache in the wordpress settings.
regarding cloudflare, what do you mean it blocks by default?
i would go to setup cloudflare similar like
@desp has described his tweak of hestia template file here, so that cloudflare will cache the files. do you think that this will interfere with the nginx wordpress cache plugin?
I want to add to this guide interesting thing related to hestiaCP nginx & cloudflare.
By default cloudflare will NOT cache static resources with wordpress nginx template.
I do talk about this
On the screenshot it’s HIT. I.e. correct behavior. Means: static resources like js files, css files, images - cached by cloudflare and downloaded from cloudflare servers instead of my hestiaCP.
How to check?
CTRL + SHIFT + C or F12 in Edge or Google Chrome → Network tab.
CTRL + R or CTRL+F5 (…