Warning: This YunoHost app is still in development. Use it at your own risk!
This app allows to redirect one path in order to add it as a Yunohost app. For example, you can create a YunoHost application "MyApp" at "http://domain.tld/myapp/" which is actually pointing at "http://127.0.0.1:8080/app/". You can even add SSO to protect this application (but make sure that this application CANNOT be accessed by its port).
The main use of redirect_ynh is to create YunoHost apps out of Docker containers: https://github.com/scith/docker_container_ynh. For example, a container running with the option "-p 127.0.0.1:8080:80" could be redirected to "http://domain.tld/myapp/" with SSO.
IMPORTANT: the redirect.conf file might need to be updated according to your situation! WARNING: Many apps do not support being redirected to a different path due to relative links! This means that some apps being hosted for example on http://127.0.0.1:5050/app/ HAVE TO be redirected to http://domain.tld/app/ and NOT http://domain.tld/someotherapp/
Concrete example: the Odoo Docker container runs on http://127.0.0.1:8069/. You will not be able to redirect it to http://domain.tld/odoo/ ! You have to redirect it to the root, so for example http://odoo.domain.tld/