Hi, beginner question here, though I think its more of server question than an Elm question.
I was wondering if it makes sense have a reverse proxy for Elm? For example, with apache/nginx/php you can use one server run php, and the other to serve (and cache) static files. Elm only generates static files.
Would there be any optimisations to serve some static files (eg images, css) on port 80 or 443 for nginx server, and serve html and js on an elm proxy server on port 8000 with reactor? Even though html and js files are static? Out of curiousity, I tried use a nginx/reactor reverse proxy set up, only to realise it doesn’t work because of the reactor file viewing component.
Would one just load the elm project as static files on Nginx? Are their any specific best practices using Elm with Nginx?