summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_proxy_module.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2011-12-12Proxy: added variables and regexp support to the first parameter ofValentin Bartenev1-99/+119
the "proxy_redirect" directive.
2011-11-14Fixed Upgrade header clearing with proxy_cache.Maxim Dounin1-0/+1
This was missed in proxy HTTP/1.1 support commit (r4127).
2011-11-14Fixed proxy_set_header inheritance with proxy_set_body.Maxim Dounin1-17/+12
2011-11-14Fixed proxy_set_header inheritance with proxy_cache (ticket #45).Maxim Dounin1-9/+23
Headers cleared with cache enabled (If-Modified-Since etc.) might be cleared in unrelated servers/locations without proxy_cache enabled if proxy_cache was used in some server/location. Example config which triggered the problem: proxy_set_header X-Test "test"; server { location /1 { proxy_cache name; proxy_pass ... } } server { location /2 { proxy_pass ... } } Another one: server { proxy_cache name; location /1 { proxy_pass ... } location /2 { proxy_cache off; proxy_pass ... } } In both cases If-Modified-Since header wasn't sent to backend in location /2. Fix is to not modify conf->headers_source, but instead merge user-supplied headers from conf->headers_source and default headers (either cache or not) into separate headers_merged array.
2011-10-12Wording fix, "many data" is incorrect.Maxim Dounin1-1/+1
Noted by Piotr Sikora.
2011-09-25Proxy: logging levels tuned, double logging fixed.Maxim Dounin1-6/+3
2011-09-25Proxy: whitespaces after chunk size allowed.Maxim Dounin1-0/+4
Whitespaces after chunk size seems to be be allowed by the "implied *LWS" rule and emitted by some servers.
2011-09-15Proxy: basic HTTP/1.1 support (including keepalive).Maxim Dounin1-5/+773
By default we still send requests using HTTP/1.0. This may be changed with new proxy_http_version directive.
2011-09-15Protocol version parsing in ngx_http_parse_status_line().Maxim Dounin1-0/+5
Once we know protocol version, set u->headers_in.connection_close to indicate implicitly assumed connection close with HTTP before 1.1.
2011-08-18Fixing proxy_set_body and proxy_pass_request_body with SSL.Maxim Dounin1-2/+1
Flush flag wasn't set in constructed buffer and this prevented any data from being actually sent to upstream due to SSL buffering. Make sure we always set flush in the last buffer we are going to sent. See here for report: http://nginx.org/pipermail/nginx-ru/2011-June/041552.html
2011-07-30test length of proxy_pass with variablesIgor Sysoev1-4/+6
patch by Lanshun Zhou
2011-07-29update r3945 with more descriptive error messageIgor Sysoev1-0/+2
2011-02-17always test proxy_redirect with slash, this fixes a case when nginx usesIgor Sysoev1-4/+30
proxy_pass "http://www", upstream redirects to "http://www.host/uri", and nginx rewrites it as ".host/uri" patch by Maxim Dounin
2010-08-03*) make code consistent to fastcgi, etcIgor Sysoev1-6/+5
*) remove STUB comment
2010-08-03use NULL instead of 0Igor Sysoev1-1/+1
2010-08-03inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass insideIgor Sysoev1-0/+8
a limit_except block if no handler was defined for the block
2010-08-02fix directive typeIgor Sysoev1-4/+4
2010-07-19add warnings for proxy_no_cache and fastcgi_no_cacheIgor Sysoev1-0/+6
2010-07-19proxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypassIgor Sysoev1-0/+11
2010-07-14use ngx_http_test_predicates(), ngx_http_set_predicate_slot()Igor Sysoev1-1/+1
delete ngx_http_cache(), ngx_http_no_cache_set_slot()
2010-07-02do not use a cache headers set to hideIgor Sysoev1-27/+1
2010-07-02use shared ngx_http_upstream_ignore_headers_masks[]Igor Sysoev1-10/+1
2010-06-15fix r3628Igor Sysoev1-3/+0
2010-06-15make code more obviuosIgor Sysoev1-5/+6
2010-06-15use ngx_http_parse_status_line()Igor Sysoev1-228/+13
2010-06-15allow spaces in URIIgor Sysoev1-1/+1
2010-06-07delete useless codeIgor Sysoev1-6/+2
2010-06-07fix rewritten Refresh header lengthIgor Sysoev1-2/+2
2010-06-03use local headers_names array instead of stored in configurationIgor Sysoev1-12/+6
and allocate its elements from temporary pool
2010-05-24proxy_no_cache and fastcgi_no_cacheIgor Sysoev1-0/+11
2010-05-20delete warnings of proxy_upstream_max_fails, proxy_upstream_fail_timeout,Igor Sysoev1-45/+0
fastcgi_upstream_max_fails, fastcgi_upstream_fail_timeout, memcached_upstream_max_fails, and memcached_upstream_fail_timeout directives obsolete since 0.5.0 version
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev1-24/+12
2010-03-25reset a parsing state to parse correctly an upstream response,Igor Sysoev1-0/+2
if 400 or 414 response has been redirected to upstream
2010-03-10"proxy_redirect default" may not be used if a proxy_pass uses variablesIgor Sysoev1-0/+7
2010-03-10fix proxy_redirect name in error messageIgor Sysoev1-2/+2
2009-12-23fix typoIgor Sysoev1-1/+1
2009-12-22fix the "If-None-Match" header nameIgor Sysoev1-1/+1
2009-11-29log proxied HTTP/0.9 responses status as "009"Igor Sysoev1-2/+0
2009-11-15allow "proxy_pass http://$backend" without URI partIgor Sysoev1-9/+14
2009-11-02proxy_bind, fastcgi_bind, and memcached_bindIgor Sysoev1-0/+7
2009-07-27ngx_http_upstream_create() to cleanup the previous upstream afterIgor Sysoev1-10/+3
internal redirect
2009-07-20do auto redirect for proxy_pass/fastcgi_pass with variablesIgor Sysoev1-8/+6
2009-06-15fix building --without-http-cache, broken in r2930Igor Sysoev1-1/+4
2009-06-08inherit proxy_set_header, proxy_hide_header, and fastcgi_hide_headerIgor Sysoev1-1/+3
only if cache settings are similar
2009-06-06proxy_cache_use_stale/fastcgi_cache_use_stale updatingIgor Sysoev1-0/+1
2009-06-02return NULL instead of NGX_CONF_ERROR on a create conf failureIgor Sysoev1-1/+1
2009-05-28report about proxy/fastcgi_store and proxy/fastcgi_cache incompatibilityIgor Sysoev1-4/+18
2009-05-28style fixIgor Sysoev1-2/+3
2009-05-19proxy_cache_methods and fastcgi_cache_methodsIgor Sysoev1-1/+15
2009-04-30proxy_ignore_headers and fastcgi_ignore_headersIgor Sysoev1-0/+22