mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
Update scripts/install: workaround for nginx endpoint
This commit is contained in:
parent
f19c69c4ce
commit
fb98b38403
1 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,15 @@ chown -R $app:$app "$install_dir"
|
|||
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
if [[ "${PACKAGE_CHECK_EXEC:-} -eq 1 ]]
|
||||
then
|
||||
cat << EOF > ../conf/nginx.conf
|
||||
location / {
|
||||
return 200 'This is a dummy page for garage, only displayed during tests on Yunohost CI'
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue