- '%%{ich-trickse}{HTTPS} !=on'
rewrite_rule:
- '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
-
directories:
- directory_root:
provider: directory
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'