Varnish configuration for different CMS on one server
I have CentOS 7 server with Varnish installed on front end, I have 2 Wordpress sites there and I want to add one Prestashop site, but my server is configured with one .vcl file and that’s for all sites on the server (setup for Wordpress), now I wonder how to configure .vcl to support Prestashop, I found this and I want to implement it, but I wonder how to append that to my varnish config: https://github.com/CleverCloud/varnish-examples/blob/master/prestashop.vcl - any help would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.