好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

nginx错误重定向

nginx错误重定向

        error_page  404 500 502 503 504              /500.html;

        # redirect server error pages to the static page /50x.html

        #

        #error_page   500 502 503 504  /50x.html;

        location = /500.html {

            root   /home/mlzboy/my/idea2/search/;

        }

reference:http://expressica.com/2008/03/22/nginx-set-up-error-pages/

http://www.ohlinux.com/?p=395

查看更多关于nginx错误重定向的详细内容...

  阅读:42次

上一篇: API 作简繁体转换

下一篇:网页编码