summaryrefslogtreecommitdiffstats
path: root/debian/examples/apache2-authbasic-file.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
commitdb1cb443e03f2b1e5176fa07b28b7f2cb547c0e5 (patch)
tree3ba77a067ab4f86e889cd259b8a7338910cbb782 /debian/examples/apache2-authbasic-file.conf
parentAdding upstream version 1.7.4. (diff)
downloadttyd-db1cb443e03f2b1e5176fa07b28b7f2cb547c0e5.tar.xz
ttyd-db1cb443e03f2b1e5176fa07b28b7f2cb547c0e5.zip
Adding debian version 1.7.4-1.debian/1.7.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/examples/apache2-authbasic-file.conf')
-rw-r--r--debian/examples/apache2-authbasic-file.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/examples/apache2-authbasic-file.conf b/debian/examples/apache2-authbasic-file.conf
new file mode 100644
index 0000000..5f28cb9
--- /dev/null
+++ b/debian/examples/apache2-authbasic-file.conf
@@ -0,0 +1,10 @@
+# /etc/ttyd/apache2-auth.conf
+
+<IfFile /etc/ttyd/htpasswd>
+ AuthName "ttyd"
+ AuthBasicProvider file
+ AuthType basic
+
+ AuthUserFile /etc/ttyd/htpasswd
+ Require valid-user
+</IfFile>