]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
chat01 - anpassung header
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Fri, 12 Aug 2016 16:27:43 +0000 (18:27 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Fri, 12 Aug 2016 16:27:43 +0000 (18:27 +0200)
customer/pixelpark/chat01.pixelpark.com.yaml

index d32dd27f58a3281cac68df346d479e55a475787f..90b3a256c6f767b30d0e9bf865d8b327e6bb146f 100644 (file)
@@ -5,6 +5,8 @@ site::additional_classes:
 #  - site::profile::apache
 #  - repo::redhat::passenger
 #  - apache::mod::passenger
+nginx::config::proxy_hide_header:
+  - X-Powered-By
 
 nginx::nginx_vhosts:
   rocket-chat:
@@ -21,6 +23,9 @@ nginx::nginx_vhosts:
     proxy: http://rocket_chat
     add_header:
       Strict-Transport-Security: "max-age=63072000"
+      X-Content-Type-Options: nosniff
+      X-XSS-Protection: 1; mode=block
+      X-Frame-Options: DENY
     proxy_set_header:
       - 'Upgrade $http_upgrade'
       - 'Connection "upgrade"'