Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Readdde the ForkCMS examples in the sample files

  • Loading branch information...
commit e70f0920862081bce549cc14d4ca0b468ed68106 1 parent 64e635f
@mattiasgeniar authored
Showing with 6 additions and 0 deletions.
  1. +3 −0  custom.fetch.vcl-sample
  2. +3 −0  custom.recv.vcl-sample
View
3  custom.fetch.vcl-sample
@@ -6,6 +6,9 @@ if (req.url ~ "\.(avi|deb|tar|gz|rar|iso|img|dmg|mkv|zip)$") {
if (req.http.Host == "my-wp1.localhost" || req.http.Host == "my-wp2.localhost") {
# Since this is a Wordpress setup, the Wordpress-specific Fetch
include "conf.d/fetch/wordpress.vcl";
+} elsif (req.http.Host == "my-formcms1.localhost" || req.http.Host == "my-forkcms2.localhost") {
+ # Include the FormCMS specific VCL
+ include "conf.d/fetch/forkcms.vcl";
} elsif (req.http.Host == "my-drupal1.localhost" || req.http.Host == "my-drupal2.localhost") {
# Include the Drupal 7 specific VCL
include "conf.d/fetch/drupal7.vcl";
View
3  custom.recv.vcl-sample
@@ -2,6 +2,9 @@
if (req.http.Host == "my-wp1.localhost" || req.http.Host == "my-wp2.localhost") {
# The Wordpress specific receive
include "conf.d/receive/wordpress.vcl";
+} elsif (req.http.Host == "my-forkcms1.localhost" || req.http.Host == "my-forkcms.localhost") {
+ # The ForkCMS specific config
+ include "conf.d/receive/forkcms.vcl";
} elsif (req.http.Host == "my-drupal1.localhost" || req.http.Host == "my-drupal2.localhost") {
# The Drupal 7 specific receive
include "conf.d/receive/drupal7.vcl";
Please sign in to comment.
Something went wrong with that request. Please try again.