2023-09-26 21:24:14 +02:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "redirect"
|
|
|
|
name = "Redirect"
|
|
|
|
description.en = "Create a redirection or a proxy to another path"
|
|
|
|
description.fr = "Créer une redirection ou un proxy vers un autre emplacement"
|
|
|
|
|
|
|
|
version = "1.0.2~ynh1"
|
|
|
|
|
|
|
|
maintainers = ["alexAubin"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "AGPL-3.0-or-later"
|
|
|
|
website = "https://github.com/YunoHost-Apps/redirect_ynh"
|
|
|
|
|
|
|
|
[integration]
|
2023-09-26 21:36:36 +02:00
|
|
|
yunohost = ">= 11.2"
|
|
|
|
architectures = "all"
|
2023-09-26 21:24:14 +02:00
|
|
|
multi_instance = true
|
2023-09-26 21:36:36 +02:00
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "50M"
|
2023-09-26 21:24:14 +02:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/redirect"
|
|
|
|
|
|
|
|
[install.redirect_path]
|
|
|
|
ask.en = "Redirect destination path"
|
|
|
|
ask.fr = "Emplacement de destination"
|
|
|
|
type = "string"
|
|
|
|
example = "http://127.0.0.1:8080/app/"
|
|
|
|
default = "http://127.0.0.1"
|
|
|
|
|
|
|
|
[install.redirect_type]
|
|
|
|
ask.en = "Redirect type"
|
|
|
|
ask.fr = "Type de redirection"
|
|
|
|
type = "string"
|
|
|
|
default = "public_302"
|
|
|
|
|
|
|
|
[install.redirect_type.choices]
|
2023-09-26 21:36:36 +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."
|
2023-09-26 21:24:14 +02:00
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|