Commit 8636f972 authored by iv's avatar iv

Update README.

parent 353189e1
......@@ -9,7 +9,8 @@ WebDAV server based on Flask.
flaskdav supports HTTPS when running with options <code>--cert path/to/certificate</code> and <code>--key path/to/key</code>.
To generate a private key and associated SSL certificate:
<pre><code>openssl req -nodes -newkey rsa -days 365 -keyout "ssl.key" -x509 -out "ssl.cert"</code></pre>
openssl req -nodes -newkey rsa -days 365 -keyout "ssl.key" -x509 -out "ssl.cert"
### Cookie authentication
......@@ -17,6 +18,12 @@ A cookie is set for every different Origin and contains a HMAC signature of the
The HMAC key is reset each time you restart the server.
## Example
python flaskdav.py --cert ssl.cert --key ssl.key --path /
tells the server to use the generated SSL key and certificate, and to give access to the full system.
## LICENSE
flaskdav is under the GPL2 license.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment