mirror of
https://github.com/YunoHost-Apps/redirect_ynh.git
synced 2024-09-03 20:16:10 +02:00
62 lines
1.9 KiB
TOML
62 lines
1.9 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
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~ynh2"
|
|
|
|
maintainers = []
|
|
|
|
[upstream]
|
|
license = "AGPL-3.0-or-later"
|
|
website = "https://en.wikipedia.org/wiki/Reverse_proxy"
|
|
|
|
[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"
|
|
help = "Be careful when using this app in reverse-proxy mode: the target may require to be installed at the root of a domain (or subdomain), meaning the path is just '/'!"
|
|
|
|
[install.redirect_type]
|
|
ask.en = "Redirect type"
|
|
ask.fr = "Type de redirection"
|
|
type = "select"
|
|
choices.redirect = "Explicit redirection (HTTP 302). Redirect people to a different page."
|
|
choices.reverseproxy = "Reverse-proxy (nginx proxy_pass). Expose an app, typically something that you manually installed (with or without Docker) locally or an another machine."
|
|
default = "redirect"
|
|
|
|
[install.target]
|
|
ask.en = "Target"
|
|
ask.fr = "Cible"
|
|
type = "url"
|
|
help = "This may be something like https://some.other.website (for explicit redirect) or http://127.0.0.1:1234 for reverse-proxies."
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
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 = "/"
|