summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-11 14:41:06 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-11 14:48:01 +0200
commit078f7256e3424c3fad304a3c90f735c88060d277 (patch)
tree56a7499eb38c01a070ec4ce5e7ea104f44a2515e /conf
parenta45b5073cac989da084f1bdb44cac71b6c6a61a8 (diff)
downloadaurweb-078f7256e3424c3fad304a3c90f735c88060d277.tar.xz
Support exceptions in the maintenance mode
Allow for excluding certain IP addresses from the maintenance mode. This allows administrators to view the web page while the site is still under maintenance for the rest of the world. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.proto b/conf/config.proto
index e5da57a..628dac3 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -29,6 +29,7 @@ pkgbuild_uri = https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=%s
log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
snapshot_uri = https://aur.archlinux.org/cgit/aur.git/snapshot/%s.tar.gz
enable-maintenance = 1
+maintenance-exceptions = 127.0.0.1
[auth]
valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519