michaeldmoser / ohdcdb

0 stars 0 forks source link

Setup nginx, uvicorn, etc #11

Open michaeldmoser opened 2 years ago

michaeldmoser commented 2 years ago

See https://www.valentinog.com/blog/uvicorn-django/

  1. Setup a new container for nginx with HTTPS
  2. Setup new container for serving static files
  3. Configure nginx to run via uvicorn
michaeldmoser commented 2 years ago

Maybe static files should be served by the whitenoise library? https://whitenoise.evans.io/en/stable/django.html