- Plesk for Linux
How works combination of Apache and Nginx in "proxy mode"?
When website URL is opened in browser basically what happens is as follows:
2. Nginx checks if it has the resource already in its cache.
3. If the resource is cached, Nginx returns the cached content.
4. If the resource is not cached or if dynamic page (e.g. index.php) is requested , Nginx proxies (forwards) the request to back end server - Apache. Apache in Plesk works on TCP ports: 7080 - http, 7081 - https. Then Nginx caches static content - html, images, js, css.