From fbbda941102326ac91c2ebf2f67a269860290ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 19 Feb 2016 14:33:28 +0100 Subject: Fix #1351: add maintenance mode --- app/config/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/config') diff --git a/app/config/config.yml b/app/config/config.yml index bd269b07..07a4b0b6 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -200,3 +200,13 @@ scheb_two_factor: kphoen_rulerz: executors: doctrine: true + +lexik_maintenance: + authorized: + ips: ['127.0.0.1'] + driver: + ttl: 3600 + class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver' + response: + code: 503 + status: "wallabag Service Temporarily Unavailable" -- cgit v1.2.3