Another one here using dynamic etags generated by the backend that are lost
during the gzip compression; it would indeed ve very nice to have the weak
etag support. The Last Modified header is not always a viable option.
On Tue, Apr 29, 2014 at 8:53 PM, Adam Arsenault
details: http://hg.nginx.org/nginx/rev/7f425d67f91a
branches:
changeset: 5719:7f425d67f91a
user: Piotr Sikora pi...@cloudflare.com
date: Tue Jun 03 10:53:48 2014 -0700
description:
Access log: fix default value, broken by cb308813b453.
log-filter (if parameter) was uninitialized
On Jun 3, 2014, at 9:54 PM, Piotr Sikora pi...@cloudflare.com wrote:
# HG changeset patch
# User Piotr Sikora pi...@cloudflare.com
# Date 1401818028 25200
# Tue Jun 03 10:53:48 2014 -0700
# Node ID 7f425d67f91ae3966b4f31b33dcd0386977a97a4
# Parent
Hello:
Who can tell me the Difference between NGX_DIRECT_CONF and
NGX_MAIN_CONF ?
If a command is NGX_DIRECT_CONF,it must be NGX_MAIN_CONF?
Best regards,
-yurnero
___
nginx-devel mailing list
nginx-devel@nginx.org
Доброго дня всем.
Возник вопрос: как реализовать логику фильтрации content-type в ответе от
upstream , и в зависимости от этого - отдавать определенный код (404 если не
разрешенный content-type от апстрима).
Пробовал через переменную $upstream_http_content_type
map $upstream_http_content_type
Hello!
On Thu, Jun 05, 2014 at 04:27:02AM -0400, endo wrote:
Доброго дня всем.
Возник вопрос: как реализовать логику фильтрации content-type в ответе от
upstream , и в зависимости от этого - отдавать определенный код (404 если не
разрешенный content-type от апстрима).
Пробовал через
Is it possible using nginx to essentially look at the http referer header,
and if its set to a specific value, and the page is index.html or /,
redirect to a custom landing page.
For example:
# Psuedo code
if($page = index.html and $http_referer ~* (www\.)?amazon.com.*) {
rewrite ^
On Thu, Jun 05, 2014 at 03:15:26AM -0400, justink101 wrote:
Hi there,
Is it possible using nginx to essentially look at the http referer header,
and if its set to a specific value, and the page is index.html or /,
redirect to a custom landing page.
Yes.
With a few other assumptions:
I'm sorry, I did not understood nothing. Can you provide an example of how
to avoid repeating the php configuration through @php location?
As someone said in earlier mails you can always use include and put the
repeating parts in seperate files.
For example put this into php.conf:
location
Hello
I want to be able to type http://ipaddress/phpmyadmin (or adminer)
and see its respective interface. But as it is now, I only get 404
error.
If you want http://ipaddress/phpmyadmin and http://ipaddress/adminer to
both work, you will probably want a single server{} block with all of
the
Hi
This is my first posting here, so HI to everyone :)
I would like to generate Google Analytics events for documents/videos served
directly by Nginx.
Currently the user of our system can either get the docs by going through
our website or by going directly to the url. In the first instance
Hi guys
We run a reverse proxy to Amazon S3 service. Sometime Amazon change their
IPs and some of them may become unresponsive and render reservse proxy
unusuable. Is there options to force nginx to re-resolve IPs of backends
lets say each 5 mins ?
Thanks !
Posted at Nginx Forum:
We run a reverse proxy to Amazon S3 service. Sometime Amazon change their
IPs and some of them may become unresponsive and render reservse proxy
unusuable. Is there options to force nginx to re-resolve IPs of backends
lets say each 5 mins ?
Give the upstream{} block the hostnames of the
Hi everybody,
is it possible to set a nginx config variable from an ENV variable? I tried
several thing, but none of them worked. The most promising was specifying
env MY_VAR; at the top of the nginx.conf and then using its value via
my_option $ENV{MY_VAR};. But it didn't work. I always got an
On 5 June 2014 17:00, Maximilian Schulz nam...@gmail.com wrote:
Hi everybody,
is it possible to set a nginx config variable from an ENV variable? I tried
several thing, but none of them worked. The most promising was specifying
env MY_VAR; at the top of the nginx.conf and then using its value
Thank you Jonathan,
I was afraid that this is the only option… really sad :(
I am currently experimenting with docker and dynamic setups which work for
all environments… too bad that we need to use a custom script do handle the
problem at hand. But thank you very much.
Max
On Thu, Jun 5, 2014
20:13 5-6-2014 nginx 1.7.2.2 RedKnight
Based on nginx 1.7.2 (5-6-2014) with;
+ Openssl-1.0.1h (CVE-2014-0224, CVE-2014-0221, CVE-2014-0195,
CVE-2014-0198, CVE-2010-5298, CVE-2014-3470)
+ New nginx Windows icon
+ Source changes back ported
+ Source changes add-on's back ported
+ Changes for
I am currently experimenting with docker and dynamic setups which work for
all environments… too bad that we need to use a custom script do handle
the problem at hand.
Well probably not that bad if you can use something allready made:
https://index.docker.io/u/shepmaster/nginx-template-image/
Sounds exactly like what I'm looking for thank you Reinis !
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250669,250677#msg-250677
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
No, it does not help. The problem somewhere in body reading/processing.
On Wed, Jun 4, 2014 at 8:10 PM, Andrei Belov de...@nginx.com wrote:
Not yet.
Quick look makes me think that client_body_in_file_only on; might help.
-- defan
On 04 июня 2014 г., at 19:58, kyprizel kypri...@gmail.com
20 matches
Mail list logo