##// END OF EJS Templates
docs: added 502 page instructions for nginx and apache
marcink -
r2145:9fb0230b default
parent child Browse files
Show More
@@ -95,5 +95,9 b' Below config if for an Apache Reverse Pr'
95 # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits
95 # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits
96 #SSLOpenSSLConfCmd DHParameters "/etc/apache2/dhparam.pem"
96 #SSLOpenSSLConfCmd DHParameters "/etc/apache2/dhparam.pem"
97
97
98 ## custom 502 error page. Will be displayed while RhodeCode server
99 ## is turned off
100 ErrorDocument 502 /path/to/.rccontrol/enterprise-1/static/502.html
101
98 </VirtualHost>
102 </VirtualHost>
99
103
@@ -127,7 +127,8 b' Use the following example to configure N'
127 proxy_pass http://rc;
127 proxy_pass http://rc;
128 }
128 }
129
129
130 ## custom 502 error page
130 ## custom 502 error page. Will be displayed while RhodeCode server
131 ## is turned off
131 error_page 502 /502.html;
132 error_page 502 /502.html;
132 location = /502.html {
133 location = /502.html {
133 root /path/to/.rccontrol/enterprise-1/static;
134 root /path/to/.rccontrol/enterprise-1/static;
General Comments 0
You need to be logged in to leave comments. Login now