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

63 lines
1.9 KiB
TOML
Raw Normal View History

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
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"
2024-01-12 17:24:58 +01:00
version = "2.0~ynh3"
2023-09-26 21:24:14 +02:00
2023-12-05 00:07:01 +01:00
maintainers = []
2023-09-26 21:24:14 +02:00
[upstream]
license = "AGPL-3.0-or-later"
2023-12-05 01:08:20 +01:00
website = "https://en.wikipedia.org/wiki/Reverse_proxy"
2023-09-26 21:24:14 +02:00
[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-12-05 00:07:01 +01:00
ldap = "not_relevant"
sso = "not_relevant"
2023-09-26 21:36:36 +02:00
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"
2024-01-02 17:43:58 +01:00
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 '/'!"
2023-09-26 21:24:14 +02:00
[install.redirect_type]
ask.en = "Redirect type"
ask.fr = "Type de redirection"
2023-11-02 23:27:15 +01:00
type = "select"
2024-01-02 17:43:58 +01:00
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."
2023-12-05 01:08:20 +01:00
default = "redirect"
[install.target]
ask.en = "Target"
ask.fr = "Cible"
type = "url"
2024-01-02 17:43:58 +01:00
help = "This may be something like https://some.other.website (for explicit redirect) or http://127.0.0.1:1234 for reverse-proxies."
2023-09-26 21:24:14 +02:00
[install.init_main_permission]
2023-12-05 01:08:20 +01:00
type = "group"
default = "visitors"
2023-09-26 21:24:14 +02:00
[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 ...
2023-09-26 21:24:14 +02:00
[resources.system_user]
[resources.permissions]
main.url = "/"