• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Problem with the Varnish + Nginx proxy configuration on plesk

negurah

New Pleskian
Hello

I followed the official tuto for the Varnish via Docker configuration on plesk. https://www.plesk.com/blog/product-t...cker-container

i have a VPS Ubuntu with plesk and many domains.

I followed all steps :
  • I created a domain test.monserveur.com
  • I use the Docker image million12/varnish
  • On the Docker container setting, the mapping redirect the 80 port to the 32780
  • On plesk for the hosting parameters, the option “SSL/TLS support” and “Permanent SEO-safe 301 redirect from HTTP to HTTPS” are deactivated
  • I deactived also the security mod for this domain
  • On the proxy rules of the docker container (/etc/varnish/default.vcl), i put fo the .host test.monserveur.com and .port 7080
  • On the function sub vcl_deliver, i put :


if (obj.hits > 0) {
set resp.http.X-Cache = "HIT";
} else {
set resp.http.X-Cache = "MISS";
}

I still have a 503 page with a MISS on the header for the page on test.monserveur.com

I can't understand where is the problem. I tried to put on the .host the serveur IP and with a link to another domain of the server. I think it's a problem with a setting but i don't know where.

Thanks in advance
 
Back
Top