summaryrefslogtreecommitdiff
path: root/manifests/site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-01-07 14:40:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-01-07 14:40:22 -0300
commit1e03648387cf5efb9b7fdf99366b2d8a1f8d8ea0 (patch)
tree6fa416548285f6deaedc54cd046c5eabbe769587 /manifests/site
parentb6a39e149bd9e8ff6130e8f4fb8bd1f6353b7d31 (diff)
downloadpuppet-nginx-1e03648387cf5efb9b7fdf99366b2d8a1f8d8ea0.tar.gz
puppet-nginx-1e03648387cf5efb9b7fdf99366b2d8a1f8d8ea0.tar.bz2
Adds x_frame_options and fix other paramsHEADmaster
Diffstat (limited to 'manifests/site')
-rw-r--r--manifests/site/config.pp18
1 files changed, 12 insertions, 6 deletions
diff --git a/manifests/site/config.pp b/manifests/site/config.pp
index 9822795..0cdceea 100644
--- a/manifests/site/config.pp
+++ b/manifests/site/config.pp
@@ -1,10 +1,16 @@
define nginx::site::config(
- $server_name = $name,
- $ensure = present,
- $source = 'template',
- $template = 'site',
- $backend = 'weblocal',
- $aliases = "*.${name}",
+ $server_name = $name,
+ $ensure = present,
+ $source = 'template',
+ $template = 'site',
+ $backend = 'weblocal',
+ $aliases = "*.${name}",
+ $cache = false,
+ $cache_levels = '1:2',
+ $cache_size = '10m',
+ $cache_inactive = '600s',
+ $cache_max_size = '1m',
+ $x_frame_options = 'DENY',
){
case $source {
'file': {