在水一万 发表于 2017-1-5 06:21:39

Update WSGI App without Restart Apache ¶

1. in the apace configuration page, add the two directives before WsgiScriptAlias?

    WSGIDaemonProcess bug-reporter threads=25 WSGIProcessGroup bug-reporter

    WSGIScriptAlias / /app/bug_reporter/django.wsgi

   2. restart apache

   3. to renew process, just touch the xxxx.wsgi file in the app folder

touch django.wsgi
页: [1]
查看完整版本: Update WSGI App without Restart Apache ¶