Browse Source

Mention SSL stuff in docs

tags/nilmrun-0.2
Jim Paris 11 years ago
parent
commit
e89a48dbb7
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      docs/wsgi.md

+ 7
- 2
docs/wsgi.md View File

@@ -13,9 +13,13 @@ First, create a WSGI script `/home/nilm/nilmrun.wsgi` containing:

The first parameter is the path part of the URL.

Then, set up Apache with a configuration like:
Then, set up Apache with a configuration like below. SSL and access
control/authentication are strongly recommended since this can execute
arbitrary commands.

<VirtualHost *:443>
SSLEngine On

<VirtualHost>
WSGIScriptAlias /nilmrun /home/nilm/nilmrun.wsgi
WSGIApplicationGroup nilmrun-appgroup
WSGIProcessGroup nilmrun-procgroup
@@ -23,6 +27,7 @@ Then, set up Apache with a configuration like:

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


Loading…
Cancel
Save