Re: 502 Bad Gateway

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.

Thanks,

Felipe aka lpr

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 S.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs