diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-18 11:52:21 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-18 11:52:21 +0100 |
commit | 82d97d589ed25fe06b680107bce1367fd7f0fee4 (patch) | |
tree | 8304f4b94b9585b1aa65cd804461fd302bed81ca /manifests/instance.pp | |
parent | blog module set up caching. (diff) | |
download | website_blog_2-82d97d589ed25fe06b680107bce1367fd7f0fee4.tar.gz website_blog_2-82d97d589ed25fe06b680107bce1367fd7f0fee4.tar.xz |
Blog add missing server param.
Diffstat (limited to '')
-rw-r--r-- | manifests/instance.pp | 13 |
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", }, } |