Search results

  1. N

    Easy WSGI reset for Python/Django/Wagtail hosted websites

    I ran a version of the following code to confirm my setup was in Embedded: https://modwsgi.readthedocs.io/en/master/user-guides/reloading-source-code.html def application(environ, start_response): status = '200 OK' if not environ['mod_wsgi.process_group']: output = u'EMBEDDED...
  2. N

    Easy WSGI reset for Python/Django/Wagtail hosted websites

    If your OpenLiteSpeed setup is pointed to the wsgi.py file in python it can be confusing when changes made in your local python app won't update as expected when changes are pulled to your website or pushed. Graceful (from OLS Backend), Soft & Hard (from Linux command line) OLS server resets...
Top