This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Strange vhost issue
#1
Strange vhost issue
I am not sure what happened - but just recently all traffic from port 80 is served the default "Apache2 Ubuntu Default Page"

All direct 443 traffic flows properly.

What I want to happen is any traffic that goes to http://example.com be redirected to https://example.com

I feel like I might be missing something tiny, but I just need another set of eyes on it.

Here are the contents of my vhost entry:

Code:
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
SSLCompression off
#
SetOutputFilter INFLATE;proxy-html;DEFLATE;
ProxyHTMLInterp On
ProxyHTMLExtended On
ProxyHTMLURLMap (.*)0.0.0.0:3000(.*) https://www.example.com$2 [Rin]
ProxyPass / http://0.0.0.0:3000/
ProxyPassReverse / http://0.0.0.0:3000/

Any help would be greatly appreciated.
Reply
Thanks given by:


Messages In This Thread
Strange vhost issue - by graveyardboogie - 05-04-2018, 11:50 AM
RE: Strange vhost issue - by TGates - 05-05-2018, 04:06 AM
RE: Strange vhost issue - by graveyardboogie - 05-05-2018, 04:21 AM
RE: Strange vhost issue - by TGates - 05-05-2018, 05:05 AM
RE: Strange vhost issue - by graveyardboogie - 05-05-2018, 05:20 AM
RE: Strange vhost issue - by TGates - 05-05-2018, 05:34 AM
RE: Strange vhost issue - by graveyardboogie - 05-05-2018, 05:42 AM
RE: Strange vhost issue - by TGates - 05-05-2018, 05:46 AM
RE: Strange vhost issue - by TGates - 05-05-2018, 10:54 AM
RE: Strange vhost issue - by graveyardboogie - 05-05-2018, 12:30 PM
RE: Strange vhost issue - by graveyardboogie - 05-08-2018, 07:27 AM
RE: Strange vhost issue - by TGates - 05-10-2018, 01:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Old issue on Daily Backup iraqiboy90 24 120 ,353 12-26-2020, 12:48 PM
Last Post: conglynina
Security issue urgent johnnyp 7 15 ,179 02-27-2020, 06:19 PM
Last Post: johnnyp
sub-domain issue kevwebbie 15 34 ,672 12-21-2018, 05:51 PM
Last Post: kevwebbie

Forum Jump:


Users browsing this thread: 1 Guest(s)