summaryrefslogtreecommitdiffstats
path: root/debian/local/examples/apache2-authbasic-ip.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-19 11:32:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-19 11:32:38 +0000
commit0409e98822a933e551cbbbfa6ac9542cc24f3be6 (patch)
tree097218ff5e3cc0be95fa098f9f6a7b7e8f083e2f /debian/local/examples/apache2-authbasic-ip.conf
parentAdding TODO file. (diff)
downloadttyd-0409e98822a933e551cbbbfa6ac9542cc24f3be6.tar.xz
ttyd-0409e98822a933e551cbbbfa6ac9542cc24f3be6.zip
Updating.tmp-apache2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/examples/apache2-authbasic-ip.conf')
-rw-r--r--debian/local/examples/apache2-authbasic-ip.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/local/examples/apache2-authbasic-ip.conf b/debian/local/examples/apache2-authbasic-ip.conf
new file mode 100644
index 0000000..8507a20
--- /dev/null
+++ b/debian/local/examples/apache2-authbasic-ip.conf
@@ -0,0 +1,8 @@
+# /etc/ttyd/apache2-auth.conf
+
+Order deny,allow
+Deny from all
+
+Allow from 10.0.0.0/8
+Allow from 172.16.0.0/12
+Allow from 192.168.0.0/16