Welcome! Log In Create A New Profile

Advanced

Re: 502 Bad Gateway

May 06, 2011 02:32PM
On Fri, May 06, 2011 at 01:20:24PM -0300, Felipe Teofilo wrote:
> Hello,
>
>
> How can i change 502 bad gateway from all my vhosts, to do a unique erro page?
>
>
> I want redirect to /var/html/www/errors/502/
>
>
> I try put at vhost config, but some time it doesnt work.

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/html/www/errors/502/;
}


--
Igor Sysoev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: 502 Bad Gateway

Felipe Teofilo May 06, 2011 12:22PM

Re: 502 Bad Gateway

Igor Sysoev May 06, 2011 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready