aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
Commit message (Collapse)AuthorAge
* Proxy: made proxy_pass with variables more consistent.Maxim Dounin2011-12-23
| | | | | | | | | If proxy_pass was used with variables and there was no URI component, nginx always used unparsed URI. This isn't consistent with "no variables" case, where e.g. rewrites are applied even if there is no URI component. Fix is to use the same logic in both cases, i.e. only use unparsed URI if it's valid and request is the main one.
* Proxy: added variables and regexp support to the first parameter ofValentin Bartenev2011-12-12
| | | | the "proxy_redirect" directive.
* Fixed Upgrade header clearing with proxy_cache.Maxim Dounin2011-11-14
| | | | This was missed in proxy HTTP/1.1 support commit (r4127).
* Fixed proxy_set_header inheritance with proxy_set_body.Maxim Dounin2011-11-14
|
* Fixed proxy_set_header inheritance with proxy_cache (ticket #45).Maxim Dounin2011-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Wording fix, "many data" is incorrect.Maxim Dounin2011-10-12
| | | | Noted by Piotr Sikora.
* Proxy: logging levels tuned, double logging fixed.Maxim Dounin2011-09-25
|
* Proxy: whitespaces after chunk size allowed.Maxim Dounin2011-09-25
| | | | | Whitespaces after chunk size seems to be be allowed by the "implied *LWS" rule and emitted by some servers.
* Proxy: basic HTTP/1.1 support (including keepalive).Maxim Dounin2011-09-15
| | | | | By default we still send requests using HTTP/1.0. This may be changed with new proxy_http_version directive.
* Protocol version parsing in ngx_http_parse_status_line().Maxim Dounin2011-09-15
| | | | | Once we know protocol version, set u->headers_in.connection_close to indicate implicitly assumed connection close with HTTP before 1.1.
* Fixing proxy_set_body and proxy_pass_request_body with SSL.Maxim Dounin2011-08-18
| | | | | | | | | 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
* test length of proxy_pass with variablesIgor Sysoev2011-07-30
| | | | patch by Lanshun Zhou
* update r3945 with more descriptive error messageIgor Sysoev2011-07-29
|
* always test proxy_redirect with slash, this fixes a case when nginx usesIgor Sysoev2011-02-17
| | | | | | proxy_pass "http://www", upstream redirects to "http://www.host/uri", and nginx rewrites it as ".host/uri" patch by Maxim Dounin
* *) make code consistent to fastcgi, etcIgor Sysoev2010-08-03
| | | | *) remove STUB comment
* use NULL instead of 0Igor Sysoev2010-08-03
|
* inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass insideIgor Sysoev2010-08-03
| | | | a limit_except block if no handler was defined for the block
* fix directive typeIgor Sysoev2010-08-02
|
* add warnings for proxy_no_cache and fastcgi_no_cacheIgor Sysoev2010-07-19
|
* proxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypassIgor Sysoev2010-07-19
|
* use ngx_http_test_predicates(), ngx_http_set_predicate_slot()Igor Sysoev2010-07-14
| | | | delete ngx_http_cache(), ngx_http_no_cache_set_slot()
* do not use a cache headers set to hideIgor Sysoev2010-07-02
|
* use shared ngx_http_upstream_ignore_headers_masks[]Igor Sysoev2010-07-02
|
* fix r3628Igor Sysoev2010-06-15
|
* make code more obviuosIgor Sysoev2010-06-15
|
* use ngx_http_parse_status_line()Igor Sysoev2010-06-15
|
* allow spaces in URIIgor Sysoev2010-06-15
|
* delete useless codeIgor Sysoev2010-06-07
|
* fix rewritten Refresh header lengthIgor Sysoev2010-06-07
|
* use local headers_names array instead of stored in configurationIgor Sysoev2010-06-03
| | | | and allocate its elements from temporary pool
* proxy_no_cache and fastcgi_no_cacheIgor Sysoev2010-05-24
|
* delete warnings of proxy_upstream_max_fails, proxy_upstream_fail_timeout,Igor Sysoev2010-05-20
| | | | | | fastcgi_upstream_max_fails, fastcgi_upstream_fail_timeout, memcached_upstream_max_fails, and memcached_upstream_fail_timeout directives obsolete since 0.5.0 version
* ngx_str_set() and ngx_str_null()Igor Sysoev2010-05-14
|
* reset a parsing state to parse correctly an upstream response,Igor Sysoev2010-03-25
| | | | if 400 or 414 response has been redirected to upstream
* "proxy_redirect default" may not be used if a proxy_pass uses variablesIgor Sysoev2010-03-10
|
* fix proxy_redirect name in error messageIgor Sysoev2010-03-10
|
* fix typoIgor Sysoev2009-12-23
|
* fix the "If-None-Match" header nameIgor Sysoev2009-12-22
|
* log proxied HTTP/0.9 responses status as "009"Igor Sysoev2009-11-29
|
* allow "proxy_pass http://$backend" without URI partIgor Sysoev2009-11-15
|
* proxy_bind, fastcgi_bind, and memcached_bindIgor Sysoev2009-11-02
|
* ngx_http_upstream_create() to cleanup the previous upstream afterIgor Sysoev2009-07-27
| | | | internal redirect
* do auto redirect for proxy_pass/fastcgi_pass with variablesIgor Sysoev2009-07-20
|
* fix building --without-http-cache, broken in r2930Igor Sysoev2009-06-15
|
* inherit proxy_set_header, proxy_hide_header, and fastcgi_hide_headerIgor Sysoev2009-06-08
| | | | only if cache settings are similar
* proxy_cache_use_stale/fastcgi_cache_use_stale updatingIgor Sysoev2009-06-06
|
* return NULL instead of NGX_CONF_ERROR on a create conf failureIgor Sysoev2009-06-02
|
* report about proxy/fastcgi_store and proxy/fastcgi_cache incompatibilityIgor Sysoev2009-05-28
|
* style fixIgor Sysoev2009-05-28
|
* proxy_cache_methods and fastcgi_cache_methodsIgor Sysoev2009-05-19
|