How to gracefully restart django running fcgi behind nginx?

后端 未结 5 468
陌清茗
陌清茗 2020-12-04 14:45

I\'m running a django instance behind nginx connected using fcgi (by using the manage.py runfcgi command). Since the code is loaded into memory I can\'t reload new code with

5条回答
  •  星月不相逢
    2020-12-04 15:19

    You can use spawning instead of FastCGI

    http://www.eflorenzano.com/blog/post/spawning-django/

提交回复
热议问题