# HG changeset patch # User Marcin Kuzminski # Date 2017-10-04 11:11:04 # Node ID 9fb0230b889b3d1023b785e249e6e95333ed9574 # Parent 9e9e365e8458491137113beba91b533cc19b2399 docs: added 502 page instructions for nginx and apache diff --git a/docs/admin/apache-conf-example.rst b/docs/admin/apache-conf-example.rst --- 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 Pr # 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 --- a/docs/admin/nginx-config-example.rst +++ b/docs/admin/nginx-config-example.rst @@ -127,7 +127,8 @@ Use the following example to configure N 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;