Repository navigation
http and https return same result #107
|
I have Reproxy latest version with ssl.auto. Can it be configured so that when client enters http://example.com he is not auto redirected to https://example.com with Temporary Redirect? I need to serve both http and https urls with same result. Looking at the code this is the place that causes this redirect to happen: Line 146 in 211fe15 Line 51 in 211fe15 Line 56 in 211fe15 |
Replies: 1 comment 4 replies
|
With ssl mode, reproxy redirects http to https unless this is LE http challenge request. This is done intentionally as the majority of use cases I can think of expect such a behavior. There is no flag/parmeter to alter it. If you can describe your use case, i.e. why you want to serve your content over HTTP as well, and if there is a good reason to do it I may consider adding a flag disabling this |
With ssl mode, reproxy redirects http to https unless this is LE http challenge request. This is done intentionally as the majority of use cases I can think of expect such a behavior. There is no flag/parmeter to alter it.
If you can describe your use case, i.e. why you want to serve your content over HTTP as well, and if there is a good reason to do it I may consider adding a flag disabling this
redirectHandler