Re: proxy_pass hide headers

2015-11-15 Thread Ekaterina Kukushkina
Hi, You can use the more_clear_headers directive provided with the HeadersMore module. The documentation can be found here: https://github.com/openresty/headers-more-nginx-module#more_clear_headers > On 16 Nov 2015, at 06:52, vps4 wrote: > > backend has many X-* headers > how can i hide th

proxy_pass use proxy

2015-11-15 Thread vps4
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

proxy_pass hide headers

2015-11-15 Thread vps4
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

Re: Selection of secure virtual servers

2015-11-15 Thread Francis Daly
On Fri, Nov 13, 2015 at 03:37:28PM +0100, Joó Ádám wrote: Hi there, > I would like to terminate TLS connections arriving at the default > server, only serving requests with the correct host header, relying on > SNI. SSL is fiddly. The selection of which https server{} to use is not as straightf

Re: sub_filter and proxy_pass

2015-11-15 Thread yuval.car...@capriza.com
Issue was the Content-Type. Tx! (used sub_filter_types to fix it) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262829,262833#msg-262833 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: sub_filter and proxy_pass

2015-11-15 Thread Francis Daly
On Sun, Nov 15, 2015 at 06:39:42AM -0500, yuval.car...@capriza.com wrote: Hi there, > I'm using Nginx 1.8 and trying to add a sub_filter but It fails to work (I > don't see the substitution happenning). The usual suspects here are "gzip" and "content type". Your "proxy_set_header Accept-Encodin

Re: Best practice for URL rewriting with php parameter

2015-11-15 Thread Francis Daly
On Thu, Nov 12, 2015 at 11:04:50PM +, Mik J wrote: Hi there, > I tried again your solution from yesterday and didn't manage to make it work If you have one solution that works well enough for you, use it. It is usually not worth spending more time preparing something than will be saved by us

sub_filter and proxy_pass

2015-11-15 Thread yuval.car...@capriza.com
Hi, I'm using Nginx 1.8 and trying to add a sub_filter but It fails to work (I don't see the substitution happenning). location ~* \.(appcache|manifest)$ { expires -1; rewrite ^(/v[0-9]+/.*)$ /app_ver$1 break; rewrite ^(?!/v[0-9]+/)(.*)$ /app$1 break;