SABIO webapp code for sharing between server and local machine
-
Nginx+Gunicorn+Flask, uses reverse-proxy, i.e. Gunicorn listens on localhost, Nginx forwards to localhost
-
Nginx tutorial that could help figure out how to set an internal redirect from / to /api/v0
-
CORS (Cross Origin Resource Sharing)
- precompute results for presets of parameters
- hard cap:
- for long texts at 1000 characters
- for long titles at 100 characters
- new engine: 'lack of information' engine -> e.g. computes the ratio of fields missing
- typicality engine: compute objects' typicality as a proxy for how 'common' a certain description
-
uWSGI -> alternative to Gunicorn?
-
Example NGINX config for Gunicorn -> could be more efficient & more stable & more secure
-
Nginx Config Pitfalls, random list of problems and bad practices
-
instructions how to do Nginx with Certbot -> also has instructions how to configure firewall etc