WIP: nginx configuration for api