• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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