umputun / reproxy

Simple edge server / reverse proxy
http://reproxy.io
MIT License
1.23k stars 92 forks source link

[feature request]Add an option for switch on/off http -> https redirect #165

Open leopku opened 10 months ago

leopku commented 10 months ago

In my case, one of my app only want access internal http endpoint. Reproxy always redirect http -> https. It caused many CORS problems between internal apps.

umputun commented 10 months ago

this is not exactly what reproxy does - by default it doesn't do anything with SSL, and not redirecting unless ssl.type set to non none (default) value

However, the part you are correct about - currently there is no way to set it per route. To me, such a functionality seems exotic, but if someone want to implement it without adding a lot of complexity - I'll consider such a PR