openflighthpc / concertim-ansible-playbook

Ansible playbook for building a Concertim appliance
Eclipse Public License 2.0
0 stars 0 forks source link

Replace apache2 with nginx #40

Closed benarmston closed 1 year ago

benarmston commented 1 year ago

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