summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2018-11-26 01:35:11 +0100
committerYves Fischer <yvesf-git@xapek.org>2018-11-26 01:35:11 +0100
commit3b89dc69da0f88cf8e2290523fa50656ac2ebb5d (patch)
tree105313b862ca7d8a123a37c279508081744a90d9 /README.md
downloadnginx-auth-totp-3b89dc69da0f88cf8e2290523fa50656ac2ebb5d.tar.gz
nginx-auth-totp-3b89dc69da0f88cf8e2290523fa50656ac2ebb5d.zip
Proof of concept with totp
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b948b67
--- /dev/null
+++ b/README.md
@@ -0,0 +1,23 @@
+# nginx-auth-totp
+
+A very simple authentication provider to be used with nginx's `auth_request`.
+It uses TOTP (Time based One-Time Passwords) for verification. On success it stores
+a cookie which is valid for one day.
+
+### Compile
+
+It's written in rust, compile it with `cargo build`.
+
+### Run
+
+```
+Usage: nginx_auth_totp [options]
+
+Options:
+ -o, --port PORT TCP Port to listen on
+ -d, --debug Use loglevel Debug instead of Warn
+```
+
+### Nginx configuration
+
+Find example in `test/etc/nginx.conf` \ No newline at end of file