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?by vps4 - Nginx Mailing List - English
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_valid 200 301 302 $cache_time; } } then i got error &quby vps4 - Nginx Mailing List - English
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... thanksby vps4 - Nginx Mailing List - English
how can proxy_pass use socks5 proxy like 127.0.0.1:7070by vps4 - Nginx Mailing List - English
backend has many X-* headers how can i hide them all with simple way? thanksby vps4 - Nginx Mailing List - English
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 , only works with A > > how can i do > > > > this? > > upstream backendby vps4 - Nginx Mailing List - English
no upstream backend { server A; server B backup; } this will works both of them i want only A B only works when A dieby vps4 - Nginx Mailing List - English
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 doby vps4 - Nginx Mailing List - English