1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cockpit_ynh.git synced 2024-09-03 18:16:26 +02:00
This commit is contained in:
ericgaspar 2021-07-07 19:27:38 +02:00
parent 804e915759
commit e15401d051
3 changed files with 6 additions and 15 deletions

View file

@ -1,3 +1,4 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location ^~ __PATH__/ { location ^~ __PATH__/ {
# Force usage of https # Force usage of https
@ -18,9 +19,6 @@ location ^~ __PATH__/ {
# change scheme of "Origin" to http # change scheme of "Origin" to http
proxy_set_header Origin http://$host; proxy_set_header Origin http://$host;
# Pass ETag header from cockpit to clients.
# See: https://github.com/cockpit-project/cockpit/issues/5239
gzip off;
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;

View file

@ -48,13 +48,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup --src_path="/etc/systemd/system/$app.service" ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================
# BACKUP THE POSTGRESQL DATABASE
#=================================================
ynh_print_info --message="Backing up the PostgreSQL database..."
ynh_psql_dump_db --database="$db_name" > db.sql
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================

View file

@ -83,7 +83,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
# Reload services # Reload services
systemctl start $app systemctl start $app
systemctl enable --now $app systemctl enable $app --quiet
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT