Thursday, January 9, 2014

Django 400/500 error, static file on nginx

Hãy chắc chắn bạn có dòng allow_host = ['host']
host: example.com

Với nginx thiết lập static

+ manage.py collectstatic
+ cp -r admin static/

No comments:

Post a Comment