Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

about redirect #4338

jintaeson ·

I sat SSL quickbuild.
port : 8810
SSL port : 6443

apache2 config :
<VirtualHost *:80>
ServerName qbbuild.net
ServerAdmin admin@quickbuild.com

<IfModule mod_headers.c>
	Header set X-UA-Compatible "IE=Edge,chrome=1"
   	# mod_headers can't match by content-type, but we don't want to send this header on *everything*...
	<FilesMatch "\.(js|css|gif|png|jpeg|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" >
		Header unset X-UA-Compatible
	</FilesMatch>
</IfModule>	

Redirect / https://qnbuild.net/
ServerName qbbuild.net ServerAdmin admin@quickbuild.com
SetEnvIfNoCase Request_URI "(^/wicket/|\.(jpg|png|gif|css|ico|js|swf)$)" exceptlist

            ErrorLog "|/usr/bin/rotatelogs ${APACHE_LOG_DIR}/harbor/error_%Y%m%d.log 86400 +540"
            CustomLog "|/usr/bin/rotatelogs ${APACHE_LOG_DIR}/harbor/access_%Y%m%d.log 86400 +540" combined env=!exceptlist

            ProxyRequests Off
            SSLProxyEngine on
            ProxyPreserveHost On

            SSLEngine on
            
            ProxyPass / https://10.xxx.xxx.xxx:6443/
            ProxyPassReverse / https://10.xxx.xxx.xxx:6443/
    </VirtualHost>

I have an question.
Why is it always converted to HTTP port :8810 when "Sign Out"?

  • replies 1
  • views 172
  • stars 0
robinshen ADMIN ·

At build.pmease.com, we are using below apache virtual host set up. The https protocol remains even after logging out

<VirtualHost *:80>
    ServerName build.pmease.com
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}$1 [L,R=301]
    RewriteCond %{SERVER_NAME} =build.pmease.com
    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:443>
    ServerName build.pmease.com

    ErrorLog ${APACHE_LOG_DIR}/quickbuild.error.log
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/quickbuild.access.log combined

    SSLEngine on

    ProxyRequests Off
    ProxyPreserveHost Off

    ProxyPass / http://localhost:8810/
    ProxyPassReverse / http://localhost:8810/
    SSLCertificateFile /path/to/your/fullchain.pem
    SSLCertificateKeyFile /path/to/your/privkey.pem
</VirtualHost>