Re: proxy_pass takes Content-Length from another subrequest
You can either use separated variables between the main request andsubrequests by creating new ones for subrequest after callingngx_http_subrequest, or mark variable "$proxy_internal_body_length"...
View ArticleRe: Nginx 1.4 problem
>>>>> "AN" == Alder Network <aldernetwork@gmail.com> writes:AN> I triedAN> listen [::]:80 ipv6only=off;Although [::]:80 ipv6only=off; does work as advertized (including...
View ArticleRe: understanding break and add_header combo
Francis Daly Wrote:-------------------------------------------------------Hello Francis, thanks for your response.> In nginx, one request is handled in one location. So I expect that no more>...
View ArticleRE: Nginx 1.4 problem
> Although [::]:80 ipv6only=off; does work as advertized (including for> localhost sockets), [::1]:80 ipv6only=off; fails to respond to v4> connections.Which is expected, since ::1 is an ipv6...
View ArticleRewrite and encode url
Hello,I try to make an url rewriting wich rewrite all jpg|gif|png to a script.I write this :rewrite ^(.*)\.(jp?g|gif|png)$ $scheme://$host/redirection_image/afficher$1 last;It's work, but if I pass a...
View Articleproxy pass keepalive without upstream module
HiI read here that keepalives to backend can be enabled with the upstreammodule(http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive)But can they be used without defining an upstream...
View ArticleSocialEngine + Nginx (0.7version)
Hi. I have checked the forum and there is one message on this but it is not of any assistance. I have a Turnkey Nginx stack installed along with Social Engine. The Nginx version bundled in this package...
View ArticleRe: OCSP response: no response sent
Hi!> > Additionally, while looking into this I've found that due to> > OpenSSL bug the OCSP stapling won't work at all if it's not> > enabled in the default server.Please, add this to...
View Article[crit] 16665#0 unlink()
Hello,I'm using nginx 1.4.0 to proxy a website, and I cache responses. I haven't noticed any problems on the front end, but the error log has unlink() errors.2013/05/03 12:53:42 [crit] 16665#0:...
View Articlefastcgi_cache - как отключить для определенного location
Использую конфиг на основе http://wiki.nginx.org/Drupal:location / {try_files $uri @rewrite;}location @rewrite {rewrite ^/(.*)$ /index.php?q=$1;}location ~ \.php$ {fastcgi_split_path_info...
View ArticleRe: proxy_pass takes Content-Length from another subrequest
Thanks, I've reset subrequest's variables and it's ok now.On Fri, May 3, 2013 at 7:26 AM, lanshun zhou <zls.sogou@gmail.com> wrote:> You can either use separated variables between the main...
View ArticleReorder output chain when subrequests are used
Hi.Let's suppose we've called ngx_http_output_filter(r, "aaa") for the mainrequest, then we've called ngx_http_subrequest() and thenngx_http_output_filter(r, "bbb") for the main request.Let's suppose...
View ArticleRe: [crit] 16665#0 unlink()
Hello!On Fri, May 03, 2013 at 04:17:17PM -0400, nano wrote:> Hello,>> I'm using nginx 1.4.0 to proxy a website, and I cache responses. I haven't> noticed any problems on the front end, but...
View ArticleRe: Reorder output chain when subrequests are used
Hello!On Sat, May 04, 2013 at 01:52:12AM +0400, Marat Dakota wrote:> Hi.>> Let's suppose we've called ngx_http_output_filter(r, "aaa") for the main> request, then we've called...
View ArticleRe: Reorder output chain when subrequests are used
Ok, I need improper way then. Just some way.The problem is that I know "bbb" only after the subrequest is made. Andsubrequest's body is being completely filtered by body filter. So, in factI will not...
View ArticleRe: [PATCH] Add Range support with gzip filter output
Hello!On Fri, May 03, 2013 at 10:51:58AM +0800, xunen wrote:> Hello,>> in case of gzip filter output for range header request(Range: start-end),> range module is not work, attached patch...
View ArticleRe: proxy pass keepalive without upstream module
Hello!On Fri, May 03, 2013 at 12:41:02PM +0100, Richard Kearsley wrote:> Hi> I read here that keepalives to backend can be enabled with the> upstream module...
View ArticleRe: [crit] 16665#0 unlink()
Thank you for such a quick reply Maxim!You solved my problem, thank you very much.
View ArticleProblem with fastcgi_split_path_info on ubuntu precise
Hi,I must be missing something obvious here.I rerun my ubuntu configuration script and suddenly my nginx setup not working correctly anymore.Here my relevant nginx...
View Article