- '^(.*)$ https://kampagnen-mercedes-benz-de.pixelpark.net$1 [L,R=301]'
proxy_pass:
- { path: /, url: 'http://localhost:9000/' }
+
+
+
+
+
+
+
+
+
+
+
+
+ cms-emmt:
+ servername: emmt-cms.daimler.com
+ docroot: /var/www/html
+ ssl: true
+ 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_preserve_host: true
+ rewrites_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* https://emmt-cms.daimler.com/ [R=301,L]'
+ - slash-to-login:
+ rewrite_rule:
+ - '^/$ /system/login [R,L]'
+ - login-only-via-ssl:
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTPS} !=on'
+ - '%%{ich-trickse}{REQUEST_URI} ^/system/login'
+ rewrite_rule:
+ - '.* https://%%{ich-trickse}{SERVER_NAME}%%{ich-trickse}{REQUEST_URI} [R,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8081/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ rewrites_non_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* http://emmt-cms.daimler.com/ [R=301,L]'
+ - slash-to-login:
+ rewrite_rule:
+ - '^/$ /system/login [R,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8080/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ proxy_pass:
+ - { path: /opencms/, url: '!' }
+ - { path: /resources/, url: '!' }
+ - { path: /export/, url: '!' }
+ - { path: /skins/, url: '!' }
+ - { path: /server-info, url: '!' }
+ - { path: /status, url: '!' }
+ - { path: /genImagesTemp, url: '!' }
+ - { path: /genImages, url: '!' }
+ - { path: /fonts, url: '!' }
+ - { path: /error, url: '!' }
+#TODO: per ssl/non-ssl-port via rewrite loesen - { path: /itsmanager/, url: 'http://93.188.107.203:8081/itsmanager/' }
+#TODO per ssl/non-ssl-port via rewrite loesen - { path: /, url: 'http://93.188.107.203:8081/opencms/' }
+ directories:
+ - access-control-fonts:
+ provider: filesmatch
+ path: '\.(ttf|ttc|otf|eot|woff|svg)$'
+ headers:
+ - 'set Access-Control-Allow-Origin "*"'
+
+
+
+
+
+
+
+
+
+
+ kampagnen-mercedes-benz-de:
+ servername: kampagnen.mercedes-benz.de
+ docroot: /var/www/html
+ ssl: true
+ 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_preserve_host: true
+ rewrites_ssl:
+ - fan-klasse-roadshow-redirect:
+ rewrite_rule:
+ - '^/2039/fan-klasse_roadshow_2016$ http://www.mercedes-benz.de/content/germany/mpc/mpc_germany_website/de/home_mpc/passengercars/home/mercedes-benz_fan-klasse0.html?CFC_cK=1459929029170 [R=302,L]'
+ rewrites_non_ssl:
+ - rewrite-to-https:
+ rewrite_rule:
+ - '^(.*)$ https://kampagnen.mercedes-benz.de$1 [R=301,L]'
+ proxy_pass:
+ - { path: /status, url: '!' }
+ - { path: /info, url: '!' }
+ - { path: /error, url: '!' }
+ - { path: /, url: 'http://handraising-odt-daimler-com.pixelpark.net:9000/ retry=0' }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ newsletter-truckworks-de:
+#TODO: UseCanonicalPhysicalPort
+ servername: newsletter.truckworks.de
+ docroot: /var/www/html
+ ssl: true
+ 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_preserve_host: true
+ rewrites_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* https://newsletter.truckworks.de/ [R=301,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8087/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ - jsession-id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1$2 [L,R=301]'
+ - content-logon:
+ rewrite_rule:
+ - '/content/logon.do https://%%{ich-trickse}{HTTP_HOST}/_system/errors/index.html [L,R=301]'
+ - emmt-url-rewriting:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/content/r.html http://93.188.107.198:8081/r.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/g.html http://93.188.107.198:8081/g.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/form\.do http://93.188.107.198:8081/form.do [P,L,QSA,NE]'
+ - retailer-url:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/r/ http://93.188.107.206:8081/opencms/forms_retail/ [P]'
+ - wholesale-url-eins:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung/ http://93.188.107.206:8081/opencms/forms_wholesale/anmeldung [P]'
+ - wholesale-url-zwei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/ http://93.188.107.206:8081/opencms/forms_wholesale/ [P]'
+ - standard-opencms:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/ http://93.188.107.206:8081/opencms/ [P]'
+ rewrites_non_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* http://newsletter.truckworks.de/ [R=301,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8086/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ - emmt-url-rewriting:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/content/r.html http://93.188.107.198:8081/r.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/g.html http://93.188.107.198:8081/g.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/form\.do http://93.188.107.198:8081/form.do [P,L,QSA,NE]'
+ - forms-wholesale:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/r/|^/w/|^/anmeldung|^/forms_retail|^/forms_wholesale'
+ rewrite_rule:
+ - '^(.*)$ https://newsletter.truckworks.de%{REQUEST_URI} [R=301,L,QSA,NE]'
+ - retailer-url:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/r/ http://93.188.107.206:8081/opencms/forms_retail/ [P]'
+ - wholesale-url-eins:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung/ http://93.188.107.206:8081/opencms/forms_wholesale/anmeldung [P]'
+ - wholesale-url-zwei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/ http://93.188.107.206:8081/opencms/forms_wholesale/ [P]'
+ - standard-opencms:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/ http://93.188.107.206:8081/opencms/ [P]'
+
+ proxy_pass:
+ - { path: /opencms/, url: '!' }
+ - { path: /resources/, url: '!' }
+ - { path: /export/, url: '!' }
+ - { path: /skins/, url: '!' }
+ - { path: /server-info, url: '!' }
+ - { path: /status, url: '!' }
+ - { path: /robots.txt, url: '!' }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ newsletter-smart-de:
+#TODO: UseCanonicalPhysicalPort
+ servername: newsletter.smart.de
+ docroot: /var/www/html
+ ssl: true
+ 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_preserve_host: true
+ rewrites_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* https://newsletter.smart.de/ [R=301,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8085/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ - jsession-id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1$2 [L,R=301]'
+ - content-logon:
+ rewrite_rule:
+ - '/content/logon.do https://%%{ich-trickse}{HTTP_HOST}/_system/errors/index.html [L,R=301]'
+ - emmt-url-rewriting:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/content/r.html http://93.188.107.198:8081/r.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/g.html http://93.188.107.198:8081/g.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/form\.do http://93.188.107.198:8081/form.do [P,L,QSA,NE]'
+ - retailer-url:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/r/ http://93.188.107.206:8081/opencms/forms_retail/ [P]'
+ - wholesale-url-eins:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung/ http://93.188.107.206:8081/opencms/forms_wholesale/anmeldung [P]'
+ - wholesale-url-zwei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/ http://93.188.107.206:8081/opencms/forms_wholesale/ [P]'
+ - standard-opencms:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/ http://93.188.107.206:8081/opencms/ [P]'
+ rewrites_non_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* http://newsletter.smart.de/ [R=301,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8084/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ - content-logon:
+ rewrite_rule:
+ - '/content/logon.do http://%%{ich-trickse}{HTTP_HOST}/_system/errors/index.html [L,R=301]'
+ - agnitas-eins:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/$'
+ rewrite_rule:
+ - '.* http://nl.smart.de/ [R,L]'
+ - agnitas-zwei:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/form.do'
+ rewrite_rule:
+ - '^(.*) http://nl.smart.de$1 [R,QSA,L]'
+ - agnitas-drei:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/r.html'
+ rewrite_rule:
+ - '^(.*) http://nl.smart.de$1 [R,QSA,L]'
+ - agnitas-vier:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/g.html'
+ rewrite_rule:
+ - '^(.*) http://nl.smart.de$1 [R,QSA,L]'
+ - agnitas-fuenf:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/r$'
+ rewrite_rule:
+ - '^(.*) http://nl.smart.de$1 [R,QSA,L]'
+ - emmt-url-rewriting:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/content/r.html http://93.188.107.198:8081/r.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/g.html http://93.188.107.198:8081/g.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/form\.do http://93.188.107.198:8081/form.do [P,L,QSA,NE]'
+ - forms-wholesale:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/r/|^/w/|^/anmeldung|^/forms_retail|^/forms_wholesale'
+ rewrite_rule:
+ - '^(.*)$ https://newsletter.smart.de%%{ich-trickse}{REQUEST_URI} [R=301,L,QSA,NE]'
+ - retailer-url:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/r/ http://93.188.107.206:8081/opencms/forms_retail/ [P]'
+ - wholesale-url-eins:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung/ http://93.188.107.206:8081/opencms/forms_wholesale/anmeldung [P]'
+ - wholesale-url-zwei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/ http://93.188.107.206:8081/opencms/forms_wholesale/ [P]'
+ - standard-opencms:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/ http://93.188.107.206:8081/opencms/ [P]'
+
+ proxy_pass:
+ - { path: /opencms/, url: '!' }
+ - { path: /resources/, url: '!' }
+ - { path: /export/, url: '!' }
+ - { path: /skins/, url: '!' }
+ - { path: /server-info, url: '!' }
+ - { path: /status, url: '!' }
+ - { path: /robots.txt, url: '!' }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ newsletter-mercedes-benz-de:
+#TODO: UseCanonicalPhysicalPort
+ servername: newsletter.mercedes-benz.de
+ docroot: /var/www/html
+ ssl: true
+ 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_preserve_host: true
+ rewrites_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* https://newsletter.mercedes-benz.de/ [R=301,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8083/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ - jsession-id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1$2 [L,R=301]'
+ - emmt-url-rewriting:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/content/r.html http://93.188.107.198:8081/r.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/g.html http://93.188.107.198:8081/g.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/form\.do http://93.188.107.198:8081/form.do [P,L,QSA,NE]'
+ - retailer-url:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/r/ http://93.188.107.206:8081/opencms/forms_retail/ [P]'
+ - wholesale-url-eins:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung/ http://93.188.107.206:8081/opencms/forms_wholesale/anmeldung [P]'
+ - wholesale-url-zwei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/ http://93.188.107.206:8081/opencms/forms_wholesale/ [P]'
+ - wholesale-url-drei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/abmeldung_promo http://newsletter.mercedes-benz.de/forms_wholesale/abmeldung_promo/index.html [R=301,L] [P]'
+ - whilesale-trapo:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung-transporter http://93.188.107.204:8081/opencms/forms_mbtrapo_wholesale/anmeldung [P]'
+ - standard-opencms:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/ http://93.188.107.206:8081/opencms/ [P]'
+ rewrites_non_ssl:
+ - slash-opencms-to-domain:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/opencms/$'
+ rewrite_rule:
+ - '.* http://newsletter.mercedes-benz.de/ [R=301,L]'
+ - redirect-export-404:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '"%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME}" !-f'
+ rewrite_rule:
+ - '.* http://localhost:8082/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ - emmt-url-rewriting:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/content/r.html http://93.188.107.198:8081/r.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/g.html http://93.188.107.198:8081/g.html [P,L,QSA,NE]'
+#TODO: Port + IP anpassen - '/content/form\.do http://93.188.107.198:8081/form.do [P,L,QSA,NE]'
+ - forms-wholesale:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/r/|^/w/|^/anmeldung|^/forms_retail|^/forms_wholesale'
+ rewrite_rule:
+ - '^(.*)$ https://newsletter.mercedes-benz.de%%{ich-trickse}{REQUEST_URI} [R=301,L,QSA,NE]'
+ - retailer-url:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/r/ http://93.188.107.206:8081/opencms/forms_retail/ [P]'
+ - wholesale-url-eins:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung/ http://93.188.107.206:8081/opencms/forms_wholesale/anmeldung [P]'
+ - wholesale-url-zwei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/ http://93.188.107.206:8081/opencms/forms_wholesale/ [P]'
+ - wholesale-url-drei:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/w/abmeldung_promo http://newsletter.mercedes-benz.de/forms_wholesale/abmeldung_promo/index.html [R=301,L] [P]'
+ - whilesale-trapo:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/anmeldung-transporter http://93.188.107.204:8081/opencms/forms_mbtrapo_wholesale/anmeldung [P]'
+ - standard-opencms:
+ rewrite_rule:
+#TODO: Port + IP anpassen - '/ http://93.188.107.206:8081/opencms/ [P]'
+ - slash-to-domain:
+ rewrite_rule:
+ - '^/?$ http://www.mercedes-benz.de [R=301,L]'
+
+ proxy_pass:
+ - { path: /opencms/, url: '!' }
+ - { path: /wartung, url: '!' }
+ - { path: /resources/, url: '!' }
+ - { path: /export/, url: '!' }
+ - { path: /skins/, url: '!' }
+ - { path: /server-info, url: '!' }
+ - { path: /status, url: '!' }
+ - { path: /error, url: '!' }
+ - { path: /genImagesTemp, url: '!' }
+ - { path: /genImages, url: '!' }
+ - { path: /fonts, url: '!' }
+ - { path: /robots.txt, url: '!' }
+
+
+ directories:
+ - access-control-fonts:
+ provider: filesmatch
+ path: '\.(ttf|ttc|otf|eot|woff|svg)$'
+ headers:
+ - 'set Access-Control-Allow-Origin "*"'