Difference between revisions of "Reverse Proxy zu cloudbolt"

From
Jump to: navigation, search
(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...")
 
 
Line 1: Line 1:
 +
<pre>
 
<VirtualHost 141.73.78.143:443>
 
<VirtualHost 141.73.78.143:443>
 
         SSLEngine on
 
         SSLEngine on
Line 41: Line 42:
  
 
</VirtualHost>
 
</VirtualHost>
 +
</pre>

Latest revision as of 13:13, 7 January 2020

<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

#       RequestHeader set X-Forwarded-Proto "https"
#       ProxyPreserveHost on

#       ProxyPass "/"  "https://141.73.210.41/"
#       ProxyPassReverse "/"  "https://141.73.210.41/"

        #Websocket connection
#       ProxyPass /websocket-proxy wss://141.73.210.41/websocket-proxy retry=3
#       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>