YunoHost-Apps / redirect_ynh

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

[fix] HTTP redirection support suburl #27

Closed zamentur closed 2 years ago

zamentur commented 4 years ago

Without this fix if you call https://domainA.tld/SUBURL it redirects to https://domainB.tld/ instead of https://domainB.tld/SUBURL

zamentur commented 4 years ago

related to https://github.com/YunoHost-Apps/redirect_ynh/issues/22

liberodark commented 4 years ago

You confirm that work with this example https://domainA.tld/SUBURL to https://domainB.tld/ If you don't to redirect the suburl

h3ndrik commented 2 years ago

it's running well this way. and this would be the way a redirection is expected to work by default. also it's exactly the way it's described on nginx homepage: https://www.nginx.com/blog/creating-nginx-rewrite-rules/

please merge this.

adlmr commented 2 years ago

I can't do http://cloud.mydomain.tld/crm to http://crm.mydomain.tld/ anymore! May be you could add an option to choose between "redirect to base" / "redirect to suburl"?