lib/generators/templates/config/varnish.yml in shellac-0.0.2.4 vs lib/generators/templates/config/varnish.yml in shellac-0.0.3.rc2
- old
+ new
@@ -1,25 +1,27 @@
# Define varnish for all environments that make use of it.
# Currently all options must be specified. This will change in a future
# version to only need definition of non default values of varnish.
-# host: The host which you access your varnish server from. This
-# is particularly useful when you cache more than one host
-# with one varnish instance (default: localhost)
+# hosts: Comma separated list of hosts to make obsolete in varnishes purge list (default: localhost)
+# server: The ip or domain for your varnish server (default: localhost)
+
# post: The port of your varnish telnet server (default: 6082)
# timeout: Timeout in seconds when connecting to varnish (default: 1)
# keep_alive: Set to true, to keep the connection alive (default: false)
development:
- host: localhost
+ hosts: localhost
+ server: localhost
port: 6082
timeout: 1
keep_alive: false
production:
- host: example.com
+ hosts: example.com, varnishserver.com
+ server: 10.0.0.138
port: 6082
timeout: 1
keep_alive: false
\ No newline at end of file