This might be a bit of a late answer, but do you have a configuration file
for the site in /etc/uwsgi/apps-enabled?
On Wednesday, November 27, 2013 12:50:35 AM UTC+2, Siefke Silvio wrote:
>
> Hello,
>
> i try to run webpy with nginx, is first start with webpy so i use the
> tutorial. So without nginx run perfect, but nginx strikes.
>
> The config in nginx:
>
> server {
> listen 80;
> server_name webpy.silviosiefke.de;
> error_log /srv/http/html/webpy.silviosiefke.de/logs/error.log;
> access_log /srv/http/html/webpy.silviosiefke.de/logs/access.log main;
>
> location / {
> include uwsgi_params;
> uwsgi_pass unix:///run/uwsgi/webpysiefke.sock;
> uwsgi_param UWSGI_CHDIR /srv/http/html/webpy.silviosiefke.de/html;
> uwsgi_param UWSGI_PYHOME /srv/http/html/webpy.silviosiefke.de/html;
> uwsgi_param UWSGI_SCRIPT index;
> }
> }
>
> The socket is present:
> [siefke@archmobile http]$ ls /run/uwsgi/
> webpysiefke.sock
> [siefke@archmobile http]$
>
> The Log of nginx says:
> 2013/11/26 23:40:34 [error] 16633#0: *11 connect() to
> unix:///run/uwsgi/webpysiefke.sock failed (111:
> Connection refused) while connecting to upstream, client: 10.42.0.20,
> server: webpy.silviosiefke.de,
> request: "GET /favicon.ico HTTP/1.1", upstream:
> "uwsgi://unix:///run/uwsgi/webpysiefke.sock:",
> host: "webpy.silviosiefke.de"
>
>
> Can someone help?
>
> Thank you & Nice Day
>
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.