jakobbouchard / hestia-nginx-cache

Hestia Nginx Cache Integration for WordPress.
https://wordpress.org/plugins/hestia-nginx-cache/
GNU General Public License v3.0
11 stars 4 forks source link

not working with apache #40

Closed hamudev closed 2 months ago

hamudev commented 2 months ago

image image image

hi, i tried to setup this plugin with apache server but seem like it not working, i also already setup the api key and change proxy template to caching but the cache could not be purged.

jaapmarcus commented 2 months ago

If you run Hestia behind Cloudflare try using localhost

hamudev commented 2 months ago

thank you for your respond, btw how to do that? @jaapmarcus

hamudev commented 2 months ago

everything was fine if im using nginx server. today i have setup new apache server but the cache not purge like image i have attach above.

jaapmarcus commented 2 months ago

Use 127.0.0.1 instead of hostname

hamudev commented 2 months ago

image the result was same.

jaapmarcus commented 2 months ago

Check /var/log/hestia/auth.log

hamudev commented 2 months ago

image here my auth.log

hamudev commented 2 months ago

btw if im using purge NGINX Cache button it working . image

jaapmarcus commented 2 months ago

Add allow-all to the ip whitelist in server settings and it should work fine

jaapmarcus commented 2 months ago

No in server settings

Screenshot 2024-07-22 at 11 48 02
hamudev commented 2 months ago

yeah i did it and its working well. thank you very much for your help and time. image