summaryrefslogtreecommitdiff
path: root/usr/local/etc/lighttpd/conf.d/access.conf
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-14 16:29:17 -0500
committer53hornet <atc@53hor.net>2021-12-14 16:29:17 -0500
commit3ea2f0665bb7f0d1c32186e068638274b02cf6f5 (patch)
tree5faf2b37985a76a56ec838bd03ecc2d0d33f220d /usr/local/etc/lighttpd/conf.d/access.conf
parent5f96592609c82cfff9056b799782e1dd6ebbeef9 (diff)
downloadwww-3ea2f0665bb7f0d1c32186e068638274b02cf6f5.tar.xz
www-3ea2f0665bb7f0d1c32186e068638274b02cf6f5.zip
fix: deny access to drafts
Diffstat (limited to 'usr/local/etc/lighttpd/conf.d/access.conf')
-rw-r--r--usr/local/etc/lighttpd/conf.d/access.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/etc/lighttpd/conf.d/access.conf b/usr/local/etc/lighttpd/conf.d/access.conf
new file mode 100644
index 0000000..ea3f1d8
--- /dev/null
+++ b/usr/local/etc/lighttpd/conf.d/access.conf
@@ -0,0 +1,4 @@
+server.modules += ( "mod_access" )
+$HTTP["url"] =~ "^/drafts/" {
+ url.access-deny = ("")
+}