Thanks. I will try other production servers.
在 2016年12月1日星期四 UTC+8下午9:32:09,emepe写道:
On Thursday, December 1, 2016 at 6:42:38 AM UTC-3, 韦然 wrote:Dear all,The current header is:HTTP/1.0 200 OK
Date: Thu, 01 Dec 2016 08:33:29 GMT
Server: WSGIServer/0.1 Python/2.7.12
X-Frame-Options: SAMEORIGIN
Content-Type: text/xml
The docs states clearly that runserver is not for production, just for developing. For a light webserver you could use nginx + gunicorn. The are several tutorials for this.mikelpierre
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3f188b59-31ac-424a-ab84-5dde13266d62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment