mirror of
https://github.com/YunoHost-Apps/redirect_ynh.git
synced 2024-09-03 20:16:10 +02:00
Auto-update README
This commit is contained in:
parent
158d5c106b
commit
0b33bed94e
2 changed files with 2 additions and 44 deletions
23
README.md
23
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: <https://github.com/YunoHost-Apps/redirect_ynh>
|
||||
* Official app website: <https://github.com/YunoHost-Apps/redirect_ynh>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_redirect>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/redirect_ynh/issues>
|
||||
|
||||
|
|
23
README_fr.md
23
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 : <https://github.com/YunoHost-Apps/redirect_ynh>
|
||||
* Site officiel de l’app : <https://github.com/YunoHost-Apps/redirect_ynh>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_redirect>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/redirect_ynh/issues>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue