From 82d97d589ed25fe06b680107bce1367fd7f0fee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 18 Jan 2022 11:52:21 +0100 Subject: Blog add missing server param. --- manifests/instance.pp | 13 +++++++------ 1 file 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", }, } -- cgit v1.2.3