|
@@ -1,15 +1,18 @@
|
|
|
# Simple totp subrequest authentication
|
|
|
|
|
|
+To be used with [reverse-proxy](https://github.com/nginx-proxy/nginx-proxy)
|
|
|
+
|
|
|
## Setup
|
|
|
```
|
|
|
# build the container image
|
|
|
docker compose build
|
|
|
|
|
|
-# Popoulate .env file with an random secret
|
|
|
-# corresponding qr-code for your TOTP mobile app and a text file called secret.qr`
|
|
|
+# Popoulate .env file with an random secret and a corresponding qr-code
|
|
|
+# for your TOTP mobile app stored in secret.qr`
|
|
|
./new-secret.sh
|
|
|
|
|
|
-# Adapt the sample configuration `vdi.example.com_location` and copy it to `vhost.d` of your [reverse-proxy](https://github.com/nginx-proxy/nginx-proxy)
|
|
|
+# Copy and adapt sample configuration
|
|
|
+cp vdi.example.com_location /opt/docker/reverse-proxy/data/vhost.d/ts.lime.s-up.net_location
|
|
|
```
|
|
|
|
|
|
## Credits:
|