From f70cf1752e2028cc49399bc6d904c5e940c18352 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Thu, 22 Mar 2018 10:31:28 +0100 Subject: [PATCH] MBVD-static - proxy to minio --- .../www-mbvd-static.pixelpark.net.yaml | 69 ++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/customer/mbvd-static/www-mbvd-static.pixelpark.net.yaml b/customer/mbvd-static/www-mbvd-static.pixelpark.net.yaml index 8e926be9..7d5167ee 100644 --- a/customer/mbvd-static/www-mbvd-static.pixelpark.net.yaml +++ b/customer/mbvd-static/www-mbvd-static.pixelpark.net.yaml @@ -35,12 +35,22 @@ infra::profile::apache::htdigest: www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAGjFPmIe9AQjwx9+PG9PT+s/urbKzYjeTjfbKsoZOalI9k9vdLP65RmLtkViJ1PDpRw7OFriX40r0fLvcoRGzLiVrfUzFNBFSYLjqGRzyRovoAq/99lnwVuAht38MxUUIq2j2Y10Pg//gwR6tWasRbaC+yRGGMZ2TqZNHxUiodyJMfpxvXgYkJOnOdeW4GvztPiVO85jVMWOtWAm+6sqFWt8a92fiKawAl5HquJH/sBhDT9gE5d67YUNgbcfW9BAfhn32O+Xxm9GWfR8YXuS6c6cNzLcl55yRobGNKNqfR2GzBBAMmjzuMDEDUIQf92BPy5tYkVKZuzxq+1G8SOU+qzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBtARxFQdg63UM23gBQhiS2gBB6YGY9YBmv16Tq/N/A9580] infra::profile::apache::pp_vhosts: + mbvd-static: + servername: www-mbvd-static.pixelpark.net + docroot: '/srv/www/mbvd-static' + ssl: true + cert_servername: 'wildcard.pixelpark.net' + cert_customer: 'pixelpark' + ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' + ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem' + ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/' } mercedes-benz-versicherung: servername: www.mercedes-benz-versicherung.de serveraliases: - mercedes-benz-versicherung.de - www-mercedes-benz-versicherung.pixelpark.net - - www-mbvd-static.pixelpark.net # Real-Server docroot: '/srv/www/mercedes-benz-versicherung' ssl: false docroot_owner: apache @@ -69,48 +79,105 @@ infra::profile::apache::pp_vhosts: - schadennetz.mercedes-benz.de docroot: '/srv/www/schadennetz' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/schadennetz/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' mercedes-benz-koblenz: servername: www.mercedes-benz-koblenz.de serveraliases: - mercedes-benz-koblenz.de docroot: '/srv/www/mercedes-benz-koblenz' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/mercedes-benz-koblenz/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' mercedes-benz-kassel-goettingen: servername: www.mercedes-benz-kassel-goettingen.de serveraliases: - mercedes-benz-kassel-goettingen.de docroot: '/srv/www/mercedes-benz-kassel-goettingen' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/mercedes-benz-kassel-goettingen/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' mercedes-benz-arena: servername: www.mercedes-benz-arena.de serveraliases: - mercedes-benz-arena.de docroot: '/srv/www/mercedes-benz-arena' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/mercedes-benz-arena/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' fleetsite: servername: www.fleetsite.mercedes-benz.de serveraliases: - fleetsite.mercedes-benz.de docroot: '/srv/www/fleetsite' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/fleetsite/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' mercedes-benz-rheinland: servername: www.mercedes-benz-rheinland.de serveraliases: - mercedes-benz-rheinland.de docroot: '/srv/www/mercedes-benz-rheinland' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/mercedes-benz-rheinland/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' mercedes-benz-ostsee: servername: www.mercedes-benz-ostsee.de serveraliases: - mercedes-benz-ostsee.de docroot: '/srv/www/mercedes-benz-ostsee' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/mercedes-benz-ostsee/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' mercedes-benz-mainfranken: servername: www.mercedes-benz-mainfranken.de serveraliases: - mercedes-benz-mainfrankend.de docroot: '/srv/www/mercedes-benz-mainfranken' ssl: false + proxy_pass: + - { path: /, url: 'http://192.168.170.135:9000/mercedes-benz-mainfranken/' } + rewrites: + - index: + comment: 'rewrite / to index.html' + rewrite_rule: + - '^(.*)/$ /$1/index.html [PT,L]' + accounts::users: -- 2.39.5