Stratus allow you to configure a custom Varnish configuration for handling http traffic using Varnish Configuration Language (VCL).
To add a custom VCL,
- Go to Varnish > Info in the Stratus sidebar menu.
- Select Custom VCL.
- Enter the configuration in the VCL field.
- Click UPDATE to save changes.
NOTE: there will be a short downtime as the system restarts with the new Varnish configuration.
For more on configuration for Varnish, see Best Practices > Enabling Varnish on Stratus