Hello francis,
> > Howto set expires only if upstream does not have set an expires?
> * Francis Daly [2017-11-23 00:26]:
> You can set a value based on $upstream_http_expires --
> { default off; "" 7d; }
> in the appropriate "map" should set your Expires time to 7 days from
> now if there is
Would it be possible to use the Redis module to track cache? For example, I
would like to log each "new" cache hit, and include the URL, cache
expiration time, and possibly the file it's stored in?
On Nov 23, 2017 23:51, "itpp2012" wrote:
> Andrei Wrote:
> ---
We're using nginx for several different types of servers, but we're trying
to unify the configuration to minimize shared code. One stumbling block is
headers. For most requests, we want to add a set of standard headers:
# headers.conf:
add_header Cache-Control $cache_control;
add_header X-Robots-
There are many things that *could* cause what you’re seeing - say at least
eight. You might be lucky and guess the right one- but probably smarter to see
exactly what the issue is.
Presumably you changed your upstream webservers to do this work, replacing ssl
with unencrypted connections? Do y
Hello,
I've found strange behaviour with this rewrite method.
When :
- there are space (%20) in the URI
And
- a cookie match regexp (and is removed)
Nginx replace ";" and " " in Cookie header with %3B%20
For example:
I want to remove "Testy" cookie.
Here is nginx sample config :
server {
set $
What's the backend for this IIS, NGINX, Apache, etc? Is it requiring SNI?
Do you have multiple hostnames?
On Wed, Nov 29, 2017 at 7:05 AM, Michael Ottoson
wrote:
> Thanks, Maxim.
>
> That makes a lot of sense. However, the problem started at exactly the
> same time we moved SSL termination. T
Thanks, Maxim.
That makes a lot of sense. However, the problem started at exactly the same
time we moved SSL termination. There were no changes to the application. It
is unlikely to be a mere coincidence - but it could be.
We were previously using HAPROXY for load balancing (well, the compan
Hello!
On Wed, Nov 29, 2017 at 04:27:37AM +, Michael Ottoson wrote:
> Hi All,
>
> We installed nginx as load balancer/failover in front of two upstream web
> servers.
>
> At first SSL terminated at the web servers and nginx was configured as TCP
> passthrough on 443.
>
> We rarely experi
I have installed the mainline version of Nginx using the Lauchpad PPA
Respositiy;
Via: add-apt-repository ppa:nginx/development
I wouldlike to install an additonal module into it, however I need to
install it from source.
If I was to download the correct version from the Nginx site to my server
a