Skip to content

Varnish reverse proxy add-on for ddev

License

Notifications You must be signed in to change notification settings

rfay/ddev-varnish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tests project is maintained

ddev-varnish

This repository allows you to quickly install the varnish reverse proxy into a Ddev project using just ddev get drud/ddev-varnish.

Installation

  1. ddev get drud/ddev-varnish
  2. ddev restart

Explanation

The Varnish service inserts itself between ddev-router and the web container, so that calls to the web container are routed through Varnish first. The docker-compose.varnish.yaml replaces the VIRTUAL_HOST variable of the web container with a subdomain of the website URL (see below) and uses the default domain as its own host name.

Additional Configuration

  • You may want to edit the .ddev/varnish/default.vcl to meet your needs.

Maintained by @rfay

Based on the original ddev-contrib recipe pioneered by rikwillems

About

Varnish reverse proxy add-on for ddev

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 88.8%
  • VCL 11.2%