add nginx config
pass service and demo to rails app