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

Add secure redirect ability #161

Closed
wants to merge 1 commit into from
Closed

Conversation

ryandub
Copy link

@ryandub ryandub commented Oct 17, 2014

Adds boolean server configuration option forceSecure that redirects HTTP connections to HTTPS.

I know that there have been a few discussions about redirects based on the content of the request, but this is a bit different because it allows Hipache to serve a common function of other proxies (Nginx, HAProxy, etc.) which is to redirect based on schema allowing the underlying application to be agnostic.

Adds boolean server configuration option `forceSecure` that
redirects HTTP connections to HTTPS.
@willdurand
Copy link
Contributor

@ryandub would it be possible to redirect HTTP to HTTPS with Hipache + Nginx backend, without your PR?

@ryandub
Copy link
Author

ryandub commented Dec 2, 2014

@willdurand Yes, you could run Nginx behind Hipache and have it hand out the redirects without this PR. However, I know that some people probably don't need/want multiple proxies and may want to just have everything handled by Hipache.

@willdurand
Copy link
Contributor

@ryandub yes, thanks for the reply. However, I slightly adapted your work: #172.

@ryandub ryandub closed this Dec 1, 2021
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

Successfully merging this pull request may close these issues.

2 participants