Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to other sites served by HTTPS #27

Closed
mhgbrg opened this issue Jul 20, 2016 · 0 comments
Closed

Redirect to other sites served by HTTPS #27

mhgbrg opened this issue Jul 20, 2016 · 0 comments

Comments

@mhgbrg
Copy link
Owner

mhgbrg commented Jul 20, 2016

Right now when redirecting a site to another site served by HTTPS the certificate for the site redirected to is not valid, since the url in the browser doesn't match the url for the certificate. True redirects are not supported by the hosts file, so the easiest solution to this problem would probably be to redirect to a local web server that can redirect to the correct site.

This web server would have to run on the default port, since you can't specify which port to redirect to in the hosts file.

@mhgbrg mhgbrg changed the title Redirect to other sites when using HTTPS Redirect to other sites served by HTTPS Jul 20, 2016
@mhgbrg mhgbrg closed this as completed Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant