i use proxy_bind with interface ip address, it works fine
but i need bind to interface name, for example: ppp0
but it not worked, how can i do?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,265297,265297#msg-265297
___
nginx mailing list
ng
i tried to use like this
server {
set $cache_time 1d;
if ($request_uri = "/") {
set $cache_time 3d;
}
if ($request_uri ~ "^/other") {
set $cache_time 30d;
}
location / {
try_files $uri @fetch;
}
location @fetch {
proxy_cache_val
i setup proxy_store works fine, but has some problem
when the backend response 404 or other result, proxy_store still save them
for example:
backend 1.jpg response 404 and html result, proxy_store will store it in
disk
how can i skip that results not 200 and verify by mime etc...
thanks
Posted a
how can proxy_pass use socks5 proxy like 127.0.0.1:7070
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,262839,262839#msg-262839
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
backend has many X-* headers
how can i hide them all with simple way?
thanks
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,262837,262837#msg-262837
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
nanaya Wrote:
---
> Hi
>
> On Tue, Sep 22, 2015, at 04:59 PM, vps4 wrote:
> > i have 2 backend server A & B, i want the upstream only works with
> A,
> > when A
> > die then works with B, if A not die ,
no
upstream backend {
server A;
server B backup;
}
this will works both of them
i want only A
B only works when A die
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261712,261714#msg-261714
___
nginx mailing list
nginx@nginx.org
http://mail
i have 2 backend server A & B, i want the upstream only works with A, when A
die then works with B, if A not die , only works with A
how can i do
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261712,261712#msg-261712
___
nginx mailing list
n