config_templates is a subdict of a component. __params_nginx.rest_and_ui_port doesn't exist in the manager's components under packages.py.
You need to add that to the "celery" component.