Monday, September 4, 2017

CSS not loading with nginx?


Don't forget to add your mime.types!


[ec2-user@ip-blah ~]$ grep -C 2 mime /etc/nginx/nginx.conf
http {
   include  /etc/nginx/mime.types;
   upstream app_server {
     server unix:/home/ec2-user/run/gunicorn.sock fail_timeout=10s;