mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Merge branch 'master' of https://github.com/abeudin/z-push_ynh
This commit is contained in:
commit
e444092f97
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "Z-push",
|
||||
"name": "Z-Push",
|
||||
"id": "z-push",
|
||||
"description": {
|
||||
"en": "Z-Push is an open-source application to synchronize ActiveSync",
|
||||
|
@ -11,7 +11,7 @@
|
|||
"email": "beudbeud@beudibox.fr",
|
||||
"url": "https://z-push.org"
|
||||
},
|
||||
"multi_instance": "false",
|
||||
"multi_instance": "true",
|
||||
"arguments": {
|
||||
"install" : [
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Retrieve arguments
|
||||
domain=$1
|
||||
path="z-push"
|
||||
path="/Microsoft-Server-ActiveSync"
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl $domain$path -a z-push
|
||||
|
@ -37,7 +37,7 @@ sudo sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
|||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/z-push.conf
|
||||
|
||||
# Enable api for client
|
||||
sudo yunohost app setting z-push skipped_uris -v "/Microsoft-Server-ActiveSync"
|
||||
sudo yunohost app setting z-push skipped_urls -v "/"
|
||||
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo service nginx reload
|
||||
|
|
Loading…
Add table
Reference in a new issue