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.toml

57 lines
1.5 KiB
TOML

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 = "2.0~ynh1"
maintainers = []
[upstream]
license = "AGPL-3.0-or-later"
website = "https://github.com/YunoHost-Apps/redirect_ynh"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = "not_relevant"
sso = "not_relevant"
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/redirect"
[install.redirect_type]
ask.en = "Redirect type"
ask.fr = "Type de redirection"
type = "select"
choices.redirect = "Explicit redirection (HTTP 302). Redirect people to another URL."
choices.reverseproxy = "Reverse-proxy (nginx proxy_pass). Expose an app, typically that you manually installed (with or without Docker) locally or an another machine."
[install.target]
ask.en = "Target"
ask.fr = "Cible"
type = "url"
example = "http://127.0.0.1:1312/"
[install.init_main_permission]
default = "visitors"
[resources]
# Meh we gotta keep this otherwise migrations from the v1 era will fail
# because they assume a system user resource existed in v1 and will want to
# delete it if not present anymore in the manifest ...
[resources.system_user]
[resources.permissions]
main.url = "/"