Phoenix behind a Nginx

I serve static assets just with a few location directives in the nginx site file pointing to the various directories in the release that contain the /js/, /images/, /css/, and such directories.

I do use exrm right now, though I am highly looking forward at its replacement by the same author. It is hosted on Windows right now but transitioning to linux later. I do have a few smaller ones hosted myself via debian.

The ‘root’ path of the nginx site is directly routed to the erlang process, with a few location hooks before that directive that catch some early things like /js/, /images/, etc… It is not really any different from hosting other things behind nginx.