Reverse Proxy zu cloudbolt

From
Revision as of 13:13, 7 January 2020 by Daniel (talk | contribs) (Created page with "<VirtualHost 141.73.78.143:443> SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP SSLCertificateFile /etc/ssl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<VirtualHost 141.73.78.143:443>

       SSLEngine on
       SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
       SSLCertificateFile      /etc/ssl/19-03-12_vipaas-stage.siemens.com.cer
       SSLCertificateKeyFile   /etc/ssl/19-03-12_vipaas-stage-server.key
       ServerName      "dekher3pr301.de008.siemens.net"
       DocumentRoot    "/var/www/html/"
       CustomLog       "/var/log/apache2/one-access.log" combined
       ErrorLog        "/var/log/apache2/one-error.log"


       SSLProxyEngine On
       SSLProxyVerify none
       SSLProxyCheckPeerCN off
       SSLProxyCheckPeerName off
       SSLProxyCheckPeerExpire off
  1. RequestHeader set X-Forwarded-Proto "https"
  2. ProxyPreserveHost on
  1. ProxyPass "/" "https://141.73.210.41/"
  2. ProxyPassReverse "/" "https://141.73.210.41/"
       #Websocket connection
  1. ProxyPass /websocket-proxy wss://141.73.210.41/websocket-proxy retry=3
  2. ProxyPassReverse /websock-proxy wss://141.73.210.41/websocket-proxy retry=3


   RewriteEngine on
   RewriteCond %{HTTP:Upgrade} websocket [NC]
   RewriteCond %{HTTP:Connection} upgrade [NC]
   RewriteRule .* "wss://141.73.210.41%{REQUEST_URI}" [P]
   ProxyPass / https://141.73.210.41/
   ProxyPassReverse / https://141.73.210.41/
   ProxyRequests off


</VirtualHost>