• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

"Complex" estructure for webservers using varnish

K

Kivivaj

Guest
I'm trying to configure the following strucure:

Internet -> Varnish (external IP:80) -> nginx (localhost:88)
-> apache (localhost:80)
-> mysql (localhost:default port)

My intention is that from internet people can only access to varnish, that is a "proxy-cache" that can redistribute the petitions from the users to different webserver, on my case nginx is serving a high-traffic site, and apache is serving multiple wordpress sites.

The reason of use varnish-cache in front of the web servers is because is the uniq way that I found for use different web servers for distribute the load of the sites and have more efficiently use of hardware resources. Varnish-cache is also caching all static content and is serving fast the sites because the web servers only need to pass the dynamic content.

The problem is that by default Plesk is configuring apache for listen ONLY on external IP, without possibility of change it to (in this case) to localhost, and with this configuration impossed I can't put varnish in front of webservers and webservers only listening on localhost.

Any help for try solve this?
 
Back
Top