This configuration serves everything correctly without the /--/ prefix. I'm sure apache2 could have done that too, but that didn't seem to want to happen.
In a production build we want nginx to serve the assets, in a dev build we want ct-visualisation-app to do so. The nginx configuration has been structured to make that simple to configure. The appliance-dev role has been updated to adjust the nginx configuration from production to dev build. The appliance-dev role has also been made optional and also does a better job of configuring ct-visualisation-app for development.
This configuration serves everything correctly without the
/--/
prefix. I'm sure apache2 could have done that too, but that didn't seem to want to happen.In a production build we want nginx to serve the assets, in a dev build we want ct-visualisation-app to do so. The nginx configuration has been structured to make that simple to configure. The appliance-dev role has been updated to adjust the nginx configuration from production to dev build. The appliance-dev role has also been made optional and also does a better job of configuring ct-visualisation-app for development.
Refs https://github.com/alces-flight/concertim-ct-visualisation-app/pull/13