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
2023-11-02 23:27:49 +01:00

59 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 = "1.0.2~ynh1"
maintainers = ["alexAubin"]
[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 = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/redirect"
[install.redirect_path]
ask.en = "Redirect destination path"
ask.fr = "Emplacement de destination"
type = "string"
example = "http://127.0.0.1:8080/app/"
default = "http://127.0.0.1"
[install.redirect_type]
ask.en = "Redirect type"
ask.fr = "Type de redirection"
type = "select"
default = "public_302"
#[install.redirect_type.choices]
choices.public_302 = "Visible redirect (302, temporary). Everybody will be able to access it."
choices.public_301 = "Visible redirect (301, permanent). Everybody will be able to access it."
choices.public_proxy = "Proxy, invisible (NGINX proxy_pass). Everybody will be able to access it."
choices.private_proxy = "Proxy, invisible (NGINX proxy_pass). Only accessible for allowed users."
[resources]
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"