From 724f376e7fd727cdbc65c444a052663280fc2ca4 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 4 Oct 2017 13:11:04 +0200 Subject: [PATCH] docs: added 502 page instructions for nginx and apache --- docs/admin/apache-conf-example.rst | 4 ++++ docs/admin/nginx-config-example.rst | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/admin/apache-conf-example.rst b/docs/admin/apache-conf-example.rst index 39b56d10..fa97c851 100644 --- a/docs/admin/apache-conf-example.rst +++ b/docs/admin/apache-conf-example.rst @@ -95,5 +95,9 @@ Below config if for an Apache Reverse Proxy configuration. # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits #SSLOpenSSLConfCmd DHParameters "/etc/apache2/dhparam.pem" + ## custom 502 error page. Will be displayed while RhodeCode server + ## is turned off + ErrorDocument 502 /path/to/.rccontrol/enterprise-1/static/502.html + diff --git a/docs/admin/nginx-config-example.rst b/docs/admin/nginx-config-example.rst index 8f5438c4..c725ff7d 100644 --- a/docs/admin/nginx-config-example.rst +++ b/docs/admin/nginx-config-example.rst @@ -127,7 +127,8 @@ Use the following example to configure Nginx as a your web server. proxy_pass http://rc; } - ## custom 502 error page + ## custom 502 error page. Will be displayed while RhodeCode server + ## is turned off error_page 502 /502.html; location = /502.html { root /path/to/.rccontrol/enterprise-1/static;