diff --git a/check_process b/check_process index 5c5cd80..8672ecd 100644 --- a/check_process +++ b/check_process @@ -85,8 +85,6 @@ useldap=0 ; Checks setup_root=1 -;;; Levels - Level 5=auto ;;; Options Email= Notification=change diff --git a/conf/nginx.conf b/conf/nginx.conf index a6901b6..ee2852b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,6 +12,11 @@ location __PATH__/ { proxy_buffering off; more_set_headers "X-Frame-Options : ALLOWALL"; + # Recommended proxy_http version for keepalive connections + # https://github.com/ether/etherpad-lite/wiki/How-to-put-Etherpad-Lite-behind-a-reverse-Proxy#nginx + proxy_http_version 1.1; + + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } diff --git a/manifest.json b/manifest.json index c1d7655..3d2d1b4 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "email": "maniackc_dev@crudelis.fr" }], "requirements": { - "yunohost": ">= 3.6" + "yunohost": ">= 3.8.1" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index bd4ec3d..b70af4d 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_app_setting_set --app=$app --key=overwrite_systemd --value="1" #================================================= # FIND AND OPEN A PORT #================================================= -ynh_script_progression --message="Configuring firewall..." --weight=2 +ynh_script_progression --message="Finding an available port..." --weight=2 # Find a free port port=$(ynh_find_port --port=9001) @@ -154,7 +154,7 @@ touch $install_log chown $app -R /var/log/$app # Setup logrotate -ynh_use_logrotate +ynh_use_logrotate --specific_user=$app/$app #================================================= # INSTALL ETHERPAD diff --git a/scripts/upgrade b/scripts/upgrade index 8e99bdf..202a5b4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -378,7 +378,7 @@ ynh_add_fail2ban_config --logpath="/var/log/nginx/$domain-access.log" --failrege ynh_script_progression --message="Upgrading logrotate configuration..." # Use logrotate to manage app-specific logfile(s) -ynh_use_logrotate --non-append +ynh_use_logrotate --non-append --specific_user=$app/$app #================================================= # SETUP SYSTEMD