From: Philipp Dallig Date: Mon, 6 Mar 2017 10:43:15 +0000 (+0100) Subject: pixelpark - client-survey-tool anpassungen vion daniel X-Git-Tag: v0.1.0~3498 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=8fef4d20de8d2562ababea7c0ebed4305c71b60f;p=pixelpark%2Fhiera.git pixelpark - client-survey-tool anpassungen vion daniel --- diff --git a/customer/pixelpark/web-client-survey.pixelpark.com.yaml b/customer/pixelpark/web-client-survey.pixelpark.com.yaml index 281ad277..fb851c39 100644 --- a/customer/pixelpark/web-client-survey.pixelpark.com.yaml +++ b/customer/pixelpark/web-client-survey.pixelpark.com.yaml @@ -48,8 +48,32 @@ site::profile::apache::pp_vhosts: docroot_group: 'root' docroot_mode: '0755' proxy_pass: - - { path: /, url: 'http://217.66.53.162:8500/' } + - { path: /static, url: '!' } + - { path: /, url: 'http://217.66.53.162:30000/' } ssl: true ssl_cert: /etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem ssl_chain: /etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem ssl_key: /etc/pki/tls/private/wildcard.pixelpark.com-key.pem + directories: + # docroot: + - provider: directory + path: '/srv/www/clientsurvey.pixelpark.com' + allow_override: + - None + options: + - Indexes + - FollowSymLinks + - MultiViews + # static docroot + - provider: directory + path: /srv/www/clientsurvey.pixelpark.com/static + rewrites_non_ssl: + - comment: 'http to https' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' + rewrites_ssl: + - comment: websocket + rewrite_cond: + - '%%{ich-trickse}{HTTP:Upgrade} =websocket [NC]' + rewrite_rule: + - '/(.*) ws://localhost:31000/$1 [P,L]'