From 49b5e39080d5ef4969be65ab1c258a1f2fa4ce53 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Wed, 16 Aug 2017 12:57:38 +0200 Subject: [PATCH] spk: modify documentroot --- customer/spk-spar-checker/test.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index 4a85ecc4..0cbb39aa 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -22,7 +22,7 @@ infra::profile::apache::htdigest: infra::profile::apache::pp_vhosts: sparchecker: - docroot: /var/www/spar-checker + docroot: /var/www/spar-checkers/sparchecker-frontend servername: stage-spar-checker-de.pixelpark.net serveraliases: - stage-web01-spar-checker-de.pixelpark.net @@ -36,7 +36,7 @@ infra::profile::apache::pp_vhosts: directories: - directory_root: provider: directory - path: '/var/www/spar-checker' + path: '/var/www/spar-checker/sparchecker-frontend/' addhandlers: - { handler: "proxy:unix:/var/run/php5-fpm-sparchecker.sock|fcgi://./" , extensions: '.php' } options: @@ -59,6 +59,9 @@ infra::profile::apache::pp_vhosts: - 'always set X-Frame-Options "SAMEORIGIN"' - 'always set X-Content-Type-Options "nosniff"' - "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 } + - { alias: /sfp , path: /var/www/spar-checker/sparchecker-backend/public/sfp } setenvif: - 'HTTPS on X-Forwarded-Proto=https' - 'HTTPS on HTTPS=on' -- 2.39.5