Moving to Production: Apache or Nginx

SourceOptics contains some example config files in 'examples/' for proxying gnuicorn with nginx that have been tested on Ubuntu.

Alternatively, you could also run SourceOptics through apache with mod_wsgi, perhaps on CentOS 8. The Apache example also includes some boilerplate for use with Shibboleth, a popular (but hard to configure) solution for SSO particularly in educational environments. Please note that once Shibboleth is cleared, access to the read only views is available to all users until RBAC support can be added to SourceOptics.

It's important to make sure your webserver starts automatically with gunicorn, so for that, systemd configuration files are also provided in the examples folder.

Scan commands ("ssh-agent python3 scan") should be added to a crontab.