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
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:
- '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'