2022-02-28 23:39:48 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# COMMON VARIABLES
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# PERSONAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2024-03-22 19:57:45 +01:00
|
|
|
_ci_fix_nginx() {
|
|
|
|
if [ "${PACKAGE_CHECK_EXEC:-0}" -eq 1 ]; then
|
|
|
|
echo 'rewrite ^/$ /catalog/;' >> "/etc/nginx/conf.d/${domain}.d/$app.conf"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2022-02-28 23:39:48 +01:00
|
|
|
#=================================================
|
|
|
|
# EXPERIMENTAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# FUTURE OFFICIAL HELPERS
|
|
|
|
#=================================================
|