1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00
redirect_ynh/manifest.json

68 lines
2.2 KiB
JSON
Raw Normal View History

2016-06-20 23:43:51 +02:00
{
"name": "Redirect",
"id": "redirect",
"packaging_format": 1,
"description": {
2021-08-22 08:58:18 +02:00
"en": "Create a redirection or a proxy to another path",
2016-06-20 23:43:51 +02:00
"fr": "Créer une redirection ou un proxy vers un autre emplacement"
},
2022-03-23 15:19:50 +01:00
"version": "1.0.1~ynh1",
"license": "AGPL-3.0-or-later",
"url": "https://github.com/YunoHost-Apps/redirect_ynh",
2021-06-04 16:26:13 +02:00
"upstream": {
"license": "AGPL-3.0-or-later",
"website": "https://github.com/YunoHost-Apps/redirect_ynh"
},
2016-06-20 23:43:51 +02:00
"maintainer": {
"name": "alexAubin",
"email": "alex.aubin@mailoo.org"
2021-01-23 15:21:17 +01:00
},
2021-06-06 17:42:43 +02:00
"requirements": {
2021-06-04 16:26:13 +02:00
"yunohost": ">= 4.2.0"
2016-06-20 23:43:51 +02:00
},
"multi_instance": true,
2016-06-20 23:43:51 +02:00
"services": [
"nginx"
],
"arguments": {
"install" : [
{
"name": "domain",
"type": "domain",
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"example": "/redirect",
"default": "/redirect"
},
{
"name": "redirect_path",
"type": "string",
2016-06-20 23:43:51 +02:00
"ask": {
"en": "Redirect destination path",
"fr": "Emplacement de destination"
},
"example": "http://127.0.0.1:8080/app/",
"default": "http://127.0.0.1"
},
{
"name": "redirect_type",
2021-01-23 15:21:17 +01:00
"type": "string",
2016-06-20 23:43:51 +02:00
"ask": {
"en": "Redirect type",
"fr": "Type de redirection"
},
"choices": {
2021-08-22 08:58:18 +02:00
"public_302": "Visible redirect (302, temporary). Everybody will be able to access it.",
"public_301": "Visible redirect (301, permanent). Everybody will be able to access it.",
"public_proxy": "Proxy, invisible (NGINX proxy_pass). Everybody will be able to access it.",
"private_proxy": "Proxy, invisible (NGINX proxy_pass). Only accessible for allowed users."
},
"default": "public_302"
2016-06-20 23:43:51 +02:00
}
]
}
}