YunoHost-Apps / redirect_ynh

Redirection app for YunoHost
GNU Affero General Public License v3.0
45 stars 21 forks source link

Added direct proxy to allow redirecting a domain to another application. #25

Closed Doc-Saintly closed 10 months ago

Doc-Saintly commented 4 years ago

In the case of hosting an application like myapp.mydomain.com and trying to redirect www.myapp.com -> myapp.mydomain.com it would always fail with a 502 gateway error.

This should fix that.

alexAubin commented 4 years ago

This is a super late review, but I don't understand what issue this is addressing ... I don't understand why a regular redirect would end up in a 502. The new mode looks like a regular reverse proxy / proxy pass, but with less options enable and proxy_redirect not set to off ... Is that the root cause of the issue ? Would be nice to have a way to reproduce the initial issue ...

zamentur commented 2 years ago

@Doc-Saintly ?

zamentur commented 2 years ago

Related to https://github.com/YunoHost-Apps/redirect_ynh/issues/24

alexAubin commented 10 months ago

Closing due to lack of feedback and app got refactored