By milanbozic
Hello,
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.
Kind regards, Milan Bozic.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This would be a good place to start. Prestashop users here have shared several varnish config files while working through getting varnish up and running properly with Prestashop. Assuming a different path or domain will be used for WordPress vs Prestashop it should mostly be a matter of copying in the known working rules for the paths prestashop will be using.
Thanks for your answer, I am very good with using google and gone trough those and other config files, thing is, I can’t make any of them to work with my config, can’t implement that in my varnish config, varnish won’t start when I add any of those codes. I could maybe copy paste my “far beyond long” whole varnish config here if anyone who is expert for it would like to take a look and to help me out with this?
Kind regards, Milan Bozic.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.