summaryrefslogtreecommitdiff
path: root/manifests/instance.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/instance.pp')
-rw-r--r--manifests/instance.pp13
1 files changed, 7 insertions, 6 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index 8f9f1d1..4481d3b 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -84,12 +84,13 @@ define blog::instance (
}
nginx::resource::location { "${safe_title} - css":
- location => '~ \.css$',
- try_files => [ '$uri', '=404' ],
- ssl => true,
- ssl_only => true,
- expires => '1h',
- add_header => {
+ location => '~ \.css$',
+ try_files => [ '$uri', '=404' ],
+ ssl => true,
+ ssl_only => true,
+ server => $blog::blog_server_name,
+ expires => '1h',
+ add_header => {
'Cache-Control' => "no-cache",
},
}