Permalink
Browse files

Merge pull request #219 from archaeogeek/patch-5

Update install.rst
  • Loading branch information...
justb4 committed Oct 11, 2018
2 parents 339d3fe + f00eb43 commit 9af446050810596751db3368c5c69445b829f9fd
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/install.rst
View
@@ -131,10 +131,10 @@ Start using the built-in ``mod_wsgi`` server:
To enable in Apache, use ``GeoHealthCheck.wsgi`` and configure in Apache
as per the main Flask documentation.
Running under a sub-directory
Running under a sub-path
-----------------------------
By default GeoHealthCheck is configured to run under the root directory on the webserver. However, it can be configured to run under a sub-directory. The method for doing this depends on the webserver you are using.
By default GeoHealthCheck is configured to run under the root directory on the webserver. However, it can be configured to run under a sub-path. The method for doing this depends on the webserver you are using, but the general requirement is to pass Flask's ``SCRIPT_NAME`` environment variable when GeoHealthCheck is started.
Below is an example of how to use nginx and gunicorn to run GeoHealthCheck in a directory "geohealthcheck", assuming that you have nginx and gunicorn already set up and configured:

0 comments on commit 9af4460

Please sign in to comment.