uwsgi-docs
uwsgi-docs copied to clipboard
A note about socket files not to be placed in /tmp
I've lost some time configuring apache-uwsgi interaction via unix domain sockets because I had the socket created by uwsgi in /tmp, but apache did not see it because it was launched by systemd with PrivateTemp=true.
So I'm proposing to add a note for who might have the same issue.
您的邮件我已收到,我将会尽快给您回复信息。
Ideally, under systemd you'd just use a systemd managed .socket https://www.freedesktop.org/software/systemd/man/systemd.socket.html
that way you don't need to bother with setting up permissions to the socket and the uwsgi service and the nginx service.
@gdamjan yes. My point was only to remind ignorant people (like me) about this systemd behavior :)