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

62 lines
1.6 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"
version = "2.0~ynh1"
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"
[install.redirect_type]
ask.en = "Redirect type"
ask.fr = "Type de redirection"
2023-11-02 23:27:15 +01:00
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."
2023-12-05 01:08:20 +01:00
default = "redirect"
[install.target]
ask.en = "Target"
ask.fr = "Cible"
type = "url"
example = "http://127.0.0.1:1312/"
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 = "/"