Previously to the ctl.sh script error, it seems NGINX can't be initialized because of the
nginx: [emerg] unknown "request_url" variable
issue, can you execute the following command in order to find if there is any reference to "request_url" in the code?
grep -rnw /opt/bitnami/nginx/ -e 'request_url'
Carlos R. Hernández