summaryrefslogtreecommitdiffstats
path: root/debian/examples/apache2-authbasic-file.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-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>