我知道我的问题一定是非常愚蠢的,因为我无法找到任何关于它的事情,即使是堆栈溢出,但这真的是一个问题.
我跟着this doc,几乎一切顺利,直到“mysite.sock”发生.这样发生:
server unix:///path/to/your/mysite/mysite.sock; # for a file socket
# server 127.0.0.1:8001; # for a web port socket (we'll use this first)
这个文件没有提到任何有关“mysite.sock”的信息,经过一天的搜索,我没有发现任何内容,而我的django网站需要在48小时内上网,所以我必须要求帮助.
uWsgi is a Wsgi implementation. In this tutorial we will set up uWsgi
so that it creates a Unix socket,and serves responses to the web
server via the Wsgi protocol. At the end,our complete stack of
components will look like this:the web client <-> the web server <-> the socket <-> uwsgi <-> Django
本教程的第一部分将介绍如何使用TCP端口套接字实现相同的结果.如果您已经遵循了这些步骤,那么您应该跳过Unix套接字部分.不过,也提到Unix sockets are better due to less overhead.
原文地址:https://www.jb51.cc/nginx/434629.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。