• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question nginx and varnish (docker)

andyxyz

Basic Pleskian
Server operating system version
ubuntu 20.04
Plesk version and microupdate number
18.01
Has anyone worked out a method of running pure nginx with varnish? Currently I can run everything with nginx only but the only way I can get varnish running in docker is to point that to 7080 / apache. Can anyone see a way to point varnish to nginx?
 
OK the silence is deafening..

what if I add a new nginx block for a new port (minus the docker proxy block) and point varnish to this port?
 
OK story so far.. this is Magento 2..

So creating a custom nginx block in /etc/nginx/conf.d/ with a copy of the port 80 nginx server block (minus any extension inserts) running on a random port and pointing varnish (default m2 exported vcl) to this works just fine for everything except images. (static content fine.. images.. not fine)
Varnish cant see get.php

other than this one anomaly magento 2 will run even if apache is disabled.

Any ideas?

- ReqURL /get.php

- VCL_call RECV
- VCL_return pass
- VCL_call HASH
- VCL_return lookup
- VCL_call PASS
- VCL_return fetch
- Link bereq 720902 pass
- Timestamp Fetch: 1712222345.680428 3.822114 3.822114
- RespProtocol HTTP/1.1
- RespStatus 404
- RespReason Not Found
- RespHeader Server: nginx
 
Back
Top