1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grist_ynh.git synced 2024-09-03 20:36:18 +02:00

Add missing port in conf + fix change_url

This commit is contained in:
Florent 2023-11-12 21:19:31 +01:00 committed by Florent F
parent d918a76f57
commit 51199740a0
3 changed files with 3 additions and 6 deletions

View file

@ -8,3 +8,4 @@ GRIST_ANON_PLAYGROUND=false
REDIS_URL=redis://localhost:6379/__REDIS_DB__
GRIST_DATA_DIR=__DATA_DIR__/docs/
TYPEORM_DATABASE=__DATA_DIR__/home.db
PORT=__PORT__

View file

@ -13,12 +13,6 @@ location __PATH__/ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
location /auth/login {
# FIXME isn't there any way to specify the
# URL to redirect to after being sso'ed?
return 301 /yunohost/sso;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}

View file

@ -26,6 +26,8 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
ynh_change_url_nginx_config
ynh_script_progression --message="Updating env configuration file..." --weight=1
domain="$new_domain"
path="$new_path"
ynh_add_config --template="default.env" --destination="$install_dir/default.env"
#=================================================