Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flaskdav
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
flaskdav
Commits
8636f972
Commit
8636f972
authored
Feb 01, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.
parent
353189e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
README.md
README.md
+8
-1
No files found.
README.md
View file @
8636f972
...
@@ -9,7 +9,8 @@ WebDAV server based on Flask.
...
@@ -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>
.
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:
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
### Cookie authentication
...
@@ -17,6 +18,12 @@ A cookie is set for every different Origin and contains a HMAC signature of the
...
@@ -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.
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
## LICENSE
flaskdav is under the GPL2 license.
flaskdav is under the GPL2 license.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment