diff --git a/README.md b/README.md index 40033d3..e96c451 100644 --- a/README.md +++ b/README.md @@ -24,30 +24,9 @@ In technical terms: this app only adds a NGINX configuration snippet with either **Shipped version:** 1.0.2~ynh1 -## Disclaimers / important information - -## Redirect type - -### Visible redirect - -The client will be redirected to another url or external website - -- `your-domain.com -> another-domain.net` -- `your-domain.com/foo -> another-domain.net/bar` - -### Invisible redirect (a.k.a "reverse-proxy") - -Visitor's address bar will remain the same. Typically used to integrate into YunoHost a manually-installed app into the portal. - -- `you-domain.com/foo -> http://172.0.0.1:8080/app` - -**IMPORTANT:** you may have to further tweak the `redirect.conf` in the nginx configuration, depending on your needs! - -**IMPORTANT:** 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/ MUST be redirected to http://domain.tld/app/ and NOT http://domain.tld/someotherapp/. For example : an 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/ - ## Documentation and resources -* Upstream app code repository: +* Official app website: * YunoHost documentation for this app: * Report a bug: diff --git a/README_fr.md b/README_fr.md index 7d400a2..e474cec 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,30 +24,9 @@ En terme technique: cette app se contente de rajouter le morceau de configuratio **Version incluse :** 1.0.2~ynh1 -## Avertissements / informations importantes - -## Types de redirection - -### Redirection visible - -Le client sera redirigé vers une autre URL ou site externe - -- `votre-domaine.com -> un-autre-domaine.net` -- `votre-domaine.com/foo -> un-autre-domaine.net/bar` - -### Redirection invisible (a.k.a "reverse-proxy") - -L'adresse du client restera inchangé dans le navigateur. Typiquement utilisé pour intéger dans YunoHost une application installée manuellement. - -- `you-domain.com/foo -> http://172.0.0.1:8080/app` - -**IMPORTANT:** il vous faudra peut-être bricoler manuellement `redirect.conf` dans la configuration nginx, en fonction de vos besoins. - -**IMPORTANT:** Certaines apps ne supportent pas d'être redirigées depuis un chemin différent à cause du fonctionnement des liens relatifs ... Cela signifie que par exemple une app hébergée sur `http://127.0.0.1:5050/app/` DOIT être routé sur `http://domaine.tld/app/` et PAS http://domaine.tld/unautrechemin/. Par exemple: un conteneur Docker Odoo tourne sur `http://127.0.0.1:8069/`. Il ne sera pas capable de fonctionné correctement si il est routé sur `http://domaine.tld/odoo/` ! Il faut forcément l'installer à la racine d'un domaine, par exemple `http://odoo.domaine.tld/` - ## Documentations et ressources -* Dépôt de code officiel de l’app : +* Site officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug :