Skip to content

Commit

Permalink
Merge pull request webpy#12 from shuge/master
Browse files Browse the repository at this point in the history
Added problem and solutions notes for deploying on Nginx + fcgi_mod page
  • Loading branch information
aaronsw committed Oct 3, 2011
2 parents 5e059aa + 932a3ed commit 307fe77
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion cookbook/fastcgi-nginx.md
Expand Up @@ -116,4 +116,17 @@ To reload your configuration:

And to stop:

/path/to/nginx/sbin/nginx -s stop
/path/to/nginx/sbin/nginx -s stop


## NOTES

### problem child exited with 2

solution: insert `#!/usr/bin/env python` into header of main.py

### problem spawn-fcgi child exited with 126

solution: `chmod +x main.py`


0 comments on commit 307fe77

Please sign in to comment.