wodby/nginx

Custom preset upstream.conf not correctly checked

Closed this issue · 1 comments

entrypoint.sh is not checking correctly the custom upstream conf path

This is currently set to check a relative path, although this needs to be absolute.

        elif [[ -f "includes/upstream.${NGINX_VHOST_PRESET}.conf.tmpl" ]]; then
            _gotpl "includes/upstream.${NGINX_VHOST_PRESET}.conf.tmpl" "/etc/nginx/upstream.conf"
        else

Thank you, fixed!