mirror of
https://github.com/YunoHost-Apps/gotify_ynh.git
synced 2024-09-03 20:36:26 +02:00
install in sub dir
This commit is contained in:
parent
94fa1c50bd
commit
ba463eea4b
6 changed files with 15 additions and 11 deletions
|
@ -31,10 +31,6 @@ How to configure this app:
|
|||
|
||||
LDAP is not supported (blocked until Gotify core upstream implements it).
|
||||
|
||||
## Limitations
|
||||
|
||||
* Require dedicated domain like `gotify.domain.tld`
|
||||
|
||||
## Links
|
||||
|
||||
* Report a bug: https://github.com/YunoHost-Apps/gotify_ynh/issues
|
||||
|
|
|
@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
## Vue d'ensemble
|
||||
Gotify est un serveur simple permettant d'envoyer et de recevoir des messages via websocket.
|
||||
|
||||
**Version incluse :** 2.0.20
|
||||
**Version incluse :** 2.0.22
|
||||
|
||||
## Captures d'écran
|
||||
|
||||
|
@ -31,10 +31,6 @@ Pour configurer Gotify :
|
|||
|
||||
Pas de support de LDAP (non implémenté upstream)
|
||||
|
||||
## Limitations
|
||||
|
||||
* Nécessite un domaine dédié comme par exemple `gotify.domain.tld`
|
||||
|
||||
## Liens
|
||||
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/gotify_ynh/issues
|
||||
|
|
|
@ -6,12 +6,13 @@
|
|||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
path="/path" (PATH)
|
||||
admin="john" (USER)
|
||||
password="pass"
|
||||
port="666" (PORT)
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=0
|
||||
setup_sub_dir=1
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=0
|
||||
|
|
|
@ -18,6 +18,7 @@ location __PATH__/stream {
|
|||
|
||||
location __PATH__/ {
|
||||
proxy_pass http://127.0.0.1:__PORT__/;
|
||||
#sub_path_only rewrite ^/__PATH__(/.*) $1 break;
|
||||
proxy_set_header Host $host;
|
||||
proxy_buffering off;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
|
|
|
@ -32,6 +32,16 @@
|
|||
},
|
||||
"example": "example.com"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"ask": {
|
||||
"en": "Choose a path for Gotify",
|
||||
"fr": "Choisissez un chemin pour Gotify"
|
||||
},
|
||||
"example": "/gotify",
|
||||
"default": "/gotify"
|
||||
},
|
||||
{
|
||||
"name": "admin",
|
||||
"type": "user",
|
||||
|
|
|
@ -21,7 +21,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url=/
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
admin=$YNH_APP_ARG_ADMIN
|
||||
is_public=1
|
||||
password=$YNH_APP_ARG_PASSWORD
|
||||
|
|
Loading…
Add table
Reference in a new issue