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:
parent
d918a76f57
commit
51199740a0
3 changed files with 3 additions and 6 deletions
|
@ -8,3 +8,4 @@ GRIST_ANON_PLAYGROUND=false
|
||||||
REDIS_URL=redis://localhost:6379/__REDIS_DB__
|
REDIS_URL=redis://localhost:6379/__REDIS_DB__
|
||||||
GRIST_DATA_DIR=__DATA_DIR__/docs/
|
GRIST_DATA_DIR=__DATA_DIR__/docs/
|
||||||
TYPEORM_DATABASE=__DATA_DIR__/home.db
|
TYPEORM_DATABASE=__DATA_DIR__/home.db
|
||||||
|
PORT=__PORT__
|
||||||
|
|
|
@ -13,12 +13,6 @@ location __PATH__/ {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "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 SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,8 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
|
||||||
ynh_change_url_nginx_config
|
ynh_change_url_nginx_config
|
||||||
|
|
||||||
ynh_script_progression --message="Updating env configuration file..." --weight=1
|
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"
|
ynh_add_config --template="default.env" --destination="$install_dir/default.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue