varnishadm vcl.use main

Category: Web Servers & Proxies

varnishadm vcl.use main

Activate a previously loaded VCL

Makes the VCL named main the active configuration, so new requests are handled by it. Because vcl.load compiles first, a bad file never goes live. Roll back by naming the previous VCL, for example vcl.use boot.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.