docs: added 502 page instructions for nginx and apache

This commit is contained in:
Marcin Kuzminski 2017-10-04 13:11:04 +02:00
parent 862e0c122b
commit 724f376e7f
2 changed files with 6 additions and 1 deletions

View file

@ -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
</VirtualHost>

View file

@ -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;