Qefx
Forum Replies Created
-
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyI switched now from pound to NGINX as suggested.
NGINX is now doing the SSL termination.
https://nginx.com/resources/admin-guide/nginx-ssl-termination/
As seen here
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyOk, I switched from Pound to NGINX,
now I can request a purge:
:/etc/nginx/ssl# curl -X PURGE "https://server.com/.*" <!DOCTYPE html> <html> <head> <title>200 Purged</title> </head> <body> <h1>Error 200 Purged</h1> <p>Purged</p> <h3>Guru Meditation:</h3> <p>XID: 1572866</p> <hr> <p>Varnish cache server</p> </body> </html>
But I need to do HTTPS because I redirect all trafic from HTTP to HTTPS…
If I try HTTP I get this error:
<center><h1>400 Bad Request</h1></center> <center>The plain HTTP request was sent to HTTPS port</center>
??
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyI tried “domain.com:8081”, when posting, updating etc wordpress will just hang or get stucked
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyEither I restart or purge the site via vaadm.
But
curl -X PURGE "https://domain.com:8081/.*" -H "host:https://www.example.com"
would do the job too ??Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxycurl -X PURGE “https://123.45.67.89/.*” -H “host:https://www.example.com”
That won′t work because pound will block any none “RFC” requests…. i need to go directly to varnish with a port (in my case 7080)
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyPound will reply with: this method is not allowed. Pound blocks everything which is not put, delete, get etc. And you can′t switch pound to “allow everything”.
Thats why I want to go directly to Varnish via a port…
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyThats why I′m using Pound with redirect (Pound redirects all traffic from HTTP to SSL and “terminates SSL for Varnish)
Forum: Plugins
In reply to: [Proxy Cache Purge] Varnish PURGE and Pound SSL proxyI′m in a similar bout, but I redirect all traffic from HTTP to HTTPS ;(
Is there no way to set the port of the Varnish IP?