summaryrefslogtreecommitdiffstats
path: root/debian/examples/apache2-authbasic-ip.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-19 10:26:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-19 11:55:51 +0000
commit116995274c49da63a9e18ec6a85423071e175280 (patch)
treefc3f80a704a017dcbc856003b4af944ae1af0f8f /debian/examples/apache2-authbasic-ip.conf
parentUpdating to standards version 4.6.1. (diff)
downloadttyd-116995274c49da63a9e18ec6a85423071e175280.tar.xz
ttyd-116995274c49da63a9e18ec6a85423071e175280.zip
Adding apache2 reverse-proxy configuration.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/examples/apache2-authbasic-ip.conf')
-rw-r--r--debian/examples/apache2-authbasic-ip.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/examples/apache2-authbasic-ip.conf b/debian/examples/apache2-authbasic-ip.conf
new file mode 100644
index 0000000..8507a20
--- /dev/null
+++ b/debian/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