From a03944767336459ee037711bac4b7849de752840 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Mon, 9 Apr 2018 09:57:13 +0200 Subject: [PATCH] gsub-teilhabeberatung add video vhost --- ...web-teilhabeberatung-de.pixelpark.net.yaml | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/customer/gsub-teilhabeberatung/web-teilhabeberatung-de.pixelpark.net.yaml b/customer/gsub-teilhabeberatung/web-teilhabeberatung-de.pixelpark.net.yaml index 9f836775..89a5c060 100644 --- a/customer/gsub-teilhabeberatung/web-teilhabeberatung-de.pixelpark.net.yaml +++ b/customer/gsub-teilhabeberatung/web-teilhabeberatung-de.pixelpark.net.yaml @@ -29,7 +29,6 @@ infra::profile::drupal::projects: - '%%{ich-trickse}{HTTPS} !=on' rewrite_rule: - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' - directories: - directory_root: provider: directory @@ -44,4 +43,35 @@ infra::profile::drupal::projects: directoryindex: index.html index.php user: apache mode: '2775' - + video: + ip: 77.74.233.2 + site_path: '/var/www/teilhabeberatung/current/web' + servername: video-teilhabeberatung-de.pixelpark.net + serveraliases: + - video.teilhabeberatung.de + cert_servername: 'video.teilhabeberatung.de' + cert_customer: 'gsub' + ssl_cert: '/etc/pki/tls/certs/video.teilhabeberatung.de-cert.pem' + ssl_chain: '/etc/pki/tls/certs/video.teilhabeberatung.de-cert.pem' + ssl_key: '/etc/pki/tls/private/video.teilhabeberatung.de-key.pem' + use_standard_docroot_directory: false # because of index.html (directoryindex) + rewrites: + - comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' + directories: + - directory_root: + provider: directory + path: '/var/www/teilhabeberatung/current' + options: + - FollowSymLinks + - MultiViews + allow_override: + - All + addhandlers: + - { handler: "proxy:unix:/var/run/php5-fpm-teilhabeberatung.sock|fcgi://./" , extensions: '.php' } + directoryindex: index.html index.php + user: apache + mode: '2775' -- 2.39.5