added nginx_functions