The socket is not present in /tmp. Whereis the mistake?
It looks like uWSGI hasn’t created it. Perhaps you didn’t run it in a
way such that it had permission to do so.
I’m afraid I can’t help you troubleshoot that program and, just FYI,
this isn’t the mailing list on which to do that.
Is there no way to make the Vhost configuration so that it does not
matter what the user is in? PHP, Perl or Python?
If your code/container can listen on a socket, and you know what
protocol it speaks, and can deterministically configure nginx to use
that protocol, then there’s no reason why you can’t abstract the nginx
config away from having per-app knowledge. I suggest that it’s
probably more bother than it’s worth, unless you have very specific
mass-hosting or NoOps requirements, however.
yeah, your uwsgi instance is not working or somehow socket is simply not
there.
and for the application-agnostic configuration; you basically have to
pass
some parameters to your upstreams about the current request and then
handle
these params from them. see there is a similar example on nginx
documentation:
On Mon, 21 Jan 2013 19:15:21 +0000
Jonathan M. [email protected] wrote:
It looks like uWSGI hasn’t created it. Perhaps you didn’t run it in a
way such that it had permission to do so.
I’m afraid I can’t help you troubleshoot that program and, just FYI,
this isn’t the mailing list on which to do that.
No it will be created. There was something wrong in my reading.
When i not start uwsgi then the socket can not create.
Now i become the log:
2013/01/21 23:06:52 [crit] 7472#0: *5 connect() to
unix:///tmp/python.silviosiefke.de.sock failed (13: Permission denied)
while connecting to upstream, client: 192.168.2.20,
server: python.silviosiefke.de, request: “GET /favicon.ico HTTP/1.1”,
upstream: “uwsgi://unix:///tmp/python.silviosiefke.de.sock:”,
host: “python.silviosiefke.de:92”
If your code/container can listen on a socket, and you know what
protocol it speaks, and can deterministically configure nginx to use
that protocol, then there’s no reason why you can’t abstract the nginx
config away from having per-app knowledge. I suggest that it’s
probably more bother than it’s worth, unless you have very specific
mass-hosting or NoOps requirements, however.
Mass hoster I’m not, I will not be. There are customers whose computers
and networks I care. Years ago, I once asked a hosting and now I host a
few more. But before I can offer my customers, I need to test self and
understand. I would not start with Apache again, Nginx has been a good
companion and should stay.
I try the way from nginx Wiki, maybe run it. When can i switch the
clients
to extra server for python hosting.