From: Andreas Gerstenberg Date: Wed, 16 Aug 2017 10:57:38 +0000 (+0200) Subject: spk: modify documentroot X-Git-Tag: v0.1.0~2611 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=49b5e39080d5ef4969be65ab1c258a1f2fa4ce53;p=pixelpark%2Fhiera.git spk: modify documentroot --- 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'