view auto/have_headers @ 3862:f4c49c9e4bb5

always test proxy_redirect with slash, this fixes a case when nginx uses proxy_pass "http://www", upstream redirects to "http://www.host/uri", and nginx rewrites it as ".host/uri" patch by Maxim Dounin
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Feb 2011 11:54:35 +0000
parents 9b8c906f6e63
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


cat << END >> $NGX_AUTO_HEADERS_H

#ifndef $have
#define $have  1
#endif

END