updated nginx config to test restful apps.