Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

HTTP to HTTPS redirect option #308

Open
ashernevins opened this issue Oct 13, 2016 · 1 comment
Open

HTTP to HTTPS redirect option #308

ashernevins opened this issue Oct 13, 2016 · 1 comment

Comments

@ashernevins
Copy link

This is a feature request.

Since oauth2_proxy already handles SSL termination etc, it would be great to have a configuration option that would 301 redirect traffic on the http_address to the https_address. This would enable providing a ssl-only service, with the appropriate redirect on port 80 without having to use something like nginx in front of this service.

@jehiah jehiah changed the title HTTP to HTTP redirect option HTTPS to HTTP redirect option Oct 26, 2016
@jehiah
Copy link
Member

jehiah commented Oct 26, 2016

@ashernevins This would be a great addition. Are you interested in contributing a patch?

@jehiah jehiah changed the title HTTPS to HTTP redirect option HTTP to HTTPS redirect option Oct 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants