roundcube: return 503 if imapproxy doesn't run

This commit is contained in:
Victor LABORIE 2017-10-25 11:32:44 +02:00
parent 302fc2ffcc
commit d0cceb7e80
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,11 @@
# Repertoire principal
DocumentRoot /var/lib/roundcube/
# Return 503 if imapproxy doesn't run
<If "! -f '/run/imapproxy.pid'">
Redirect 503 /
</If>
Include /etc/roundcube/apache.conf
# LOG