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"
2023-12-05 00:54:55 +01:00
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"
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-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"
2023-12-05 00:54:55 +01:00
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/"
2023-09-26 21:24:14 +02:00
2023-12-05 00:54:55 +01:00
[ install . init_main_permission ]
default = "visitors"
2023-09-26 21:24:14 +02:00
[ resources ]
2023-12-05 00:54:55 +01:00
# 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 = "/"