Moore's Blog

  • About Me
  • Archive
  • feeds

Posts match “ webpy ” tag:

over 9 years ago

Webpy+FastCgi+Nginx 部署遇到的坑

直接上Python main.py 没什么问题
但是第一次挂FastCgi和Nginx就遇到许多坑
1 windows换行符 fastcgi 不认
2 必须告诉fastcgi python解释器在哪 #!/usr/bin/env python
3 Nginx 索引 static的设置还是没搞懂,所以直接从官网索引 jquery 库
4 Nginx Conf 里几个端口要写成一样 要不连不起来

还有几个坑想不起来了,总之现在是可以跑

  • nginx
  • Fastcgi
  • Python
  • webpy
  • October 17, 2013 02:04
  • Permalink
  • Comments
 

Copyright © 2013 PythaGodzilla . Powered by Logdown.
Based on work at subtlepatterns.com.