From: Andreas Gerstenberg Date: Tue, 19 Sep 2017 13:05:03 +0000 (+0200) Subject: spk-spar-checker remove /api and add header X-Git-Tag: v0.1.0~2437^2~6 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ceeca742eaacce1fff9894a345a69a431f9efbfd;p=pixelpark%2Fhiera.git spk-spar-checker remove /api and add header --- diff --git a/customer/spk-spar-checker/production.yaml b/customer/spk-spar-checker/production.yaml index 5550c705..884f0214 100644 --- a/customer/spk-spar-checker/production.yaml +++ b/customer/spk-spar-checker/production.yaml @@ -40,6 +40,7 @@ infra::profile::apache::pp_vhosts: - 'always set X-XSS-Protection "1; mode=block"' - 'always set X-Frame-Options "SAMEORIGIN"' - 'always set X-Content-Type-Options "nosniff"' + - 'always set Strict-Transport-Security: "max-age=15768001"' # - "set Content-Security-Policy \"default-src 'self' 'unsafe-eval' 'unsafe-inline' ; style-src 'self' https://webfonts.sparkasse.de 'unsafe-inline' ; font-src 'self' data: https://webfonts.sparkasse.de ; img-src 'self' data: ;\"" aliases: - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api } @@ -72,8 +73,8 @@ infra::profile::apache::pp_vhosts: auth_digest_algorithm: MD5 auth_user_file: '/etc/httpd/htdigest' auth_require: 'valid-user' - - provider: location - path: '/api' +# - provider: location +# path: '/api' - provider: location path: '/sfp' auth_type: Digest diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index af2c8b49..d8f9e221 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -38,6 +38,7 @@ infra::profile::apache::pp_vhosts: - 'always set X-XSS-Protection "1; mode=block"' - 'always set X-Frame-Options "SAMEORIGIN"' - 'always set X-Content-Type-Options "nosniff"' + - 'always set Strict-Transport-Security: "max-age=15768001"' # - "set Content-Security-Policy \"default-src 'self' 'unsafe-eval' 'unsafe-inline' ; style-src 'self' https://webfonts.sparkasse.de 'unsafe-inline' ; font-src 'self' data: https://webfonts.sparkasse.de ; img-src 'self' data: ;\"" aliases: - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api } @@ -70,8 +71,8 @@ infra::profile::apache::pp_vhosts: auth_digest_algorithm: MD5 auth_user_file: '/etc/httpd/htdigest' auth_require: 'valid-user' - - provider: location - path: '/api' +# - provider: location +# path: '/api' - provider: location path: '/sfp' auth_type: Digest