mirror of
https://github.com/YunoHost-Apps/kiwiirc_ynh.git
synced 2024-09-03 19:35:59 +02:00
Fix
This commit is contained in:
parent
59cb437283
commit
5a79a20bd6
3 changed files with 3 additions and 10 deletions
|
@ -1,10 +1,9 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
location / {
|
||||||
location __PATH__/ {
|
|
||||||
index index.html;
|
index index.html;
|
||||||
root /usr/share/kiwiirc/;
|
root /usr/share/kiwiirc/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/webirc/ {
|
location /webirc/ {
|
||||||
# Forward incoming requests to local webircgateway socket
|
# Forward incoming requests to local webircgateway socket
|
||||||
proxy_pass http://127.0.0.1:__PORT__/webirc/;
|
proxy_pass http://127.0.0.1:__PORT__/webirc/;
|
||||||
|
|
||||||
|
|
|
@ -31,12 +31,6 @@
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain"
|
"type": "domain"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "path",
|
|
||||||
"type": "path",
|
|
||||||
"example": "/kiwiirc",
|
|
||||||
"default": "/kiwiirc"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url="/"
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue