No there is no rest api for generating nginx config dynamically. Please see below link for other options:
http://stackoverflow.com/questions/15277453/any-good-way-to-programmatically-change-nginx-config-file-from-python -- *Anoop P Alias*
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx