Browse Source

Fix tabs

tags/nilmdb-1.4.4
Jim Paris 11 years ago
parent
commit
7f41e117a2
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      docs/wsgi.md

+ 6
- 6
docs/wsgi.md View File

@@ -10,7 +10,7 @@ run as user `nilm`.
First, create a WSGI script `/home/nilm/nilmdb.wsgi` containing:

import nilmdb.server
application = nilmdb.server.wsgi_application("/home/nilm/db")
application = nilmdb.server.wsgi_application("/home/nilm/db")

Then, set up Apache with a configuration like:

@@ -20,9 +20,9 @@ Then, set up Apache with a configuration like:
WSGIDaemonProcess nilmdb threads=32 user=nilm

# Access control example:
<Location /nilmdb>
Order deny,allow
Deny from all
Allow from 1.2.3.4
</Location>
<Location /nilmdb>
Order deny,allow
Deny from all
Allow from 1.2.3.4
</Location>
</VirtualHost>

Loading…
Cancel
Save