I'm using web2py's ngix + uwsgi + centos configuration and I accidentally 
removed web2py/logs folder on my server. Now I get "502 bad gateway" 
whenever I try to open my page.

nginx error log:

2014/05/31 13:16:50 [crit] 762#0: *1052 connect() to 
unix:///var/www/web2py/logs/web2py.socket failed (2: No such file or 
directory) while connecting to upstream, client: xxx.xx.xxx.xxx, server: 
xxx.com, request: "GET / HTTP/1.1", upstream: 
"uwsgi://unix:///var/www/web2py/logs/web2py.socket:", host: "www.xxx.com"

How can I restore web2py.socket file and get my website to work again? Any 
help appreciated.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to