Oh, it actually works, but docs is non existent.
You need to add 127.0.0.1 in allowed IPs for API together with your server IP.
Hey! Sorry for the late reply, I didn’t get any notifications.
I just updated the plugin, so make sure to update your HestiaCP install to 1.6 and the plugin to 2.0.0, a lot of bugs have been fixed, and I have made an installation guide to help too.
Hey there, no worries. Where did a button for cache cleanup disappeared after update?
I see php errors, it seems keys are deleted.
Ok, fixed everything, but now, when I click on ‘Purge Hestia NGINX cache’, there’s no message. I’ve did everything from installation instructions.
If you open the developer tools of your browser and go on the network tab, when you click on the button, you should see a request made to admin-ajax.php. If you click on it, and look at the response, is the success value set to true? And if not, there should be an error in the data it returned.
{“success”:true,”data”:{“message”:”The Hestia Nginx Cache was purged successfully.”}}
But still, there’s no visible message inside wordpress, like it was.
Can you try clearing your browser cache? The JavaScript changed quite a bit with the new update, maybe it’s loading incorrectly. If that fails, can you look if any error appear in the JavaScript console?
Ah, yes, that was it, browser cache. Now I am receiving the message. Thanks for your help, and for the plugin 🙂