Serving Files
Built files are served via an nginx server running inside a docker container. See the knomedia/um-dockerfiles project for details on the the nginx configuration and how to override it for any given project.
html extension
The default configuration we have in nginx allows users to pull up pages
without the .html extension. So a page that lives at event/bbq-2020.html
will be served from that, or from /event/bbq-2020.
gzip compression settings
All text based files (css, js, html, etc) are gzipped during production builds and our nginx configuration serves up the gzip files.
dyna-um
upmk is setup to allow for a small node.js server running as a supporting app for the static page. This is done within the same container. It is mostly accomplished by switching out the container type. See the dyna command for details on adding this to your project.