0
votes
2answers
395 views

NGINX is not forwarding a header value when using proxy_pass

I have the following setup and configured to send all /api requests to a different server: location /api { proxy_pass https://myapp.herokuapp.com; rewrite ...
0
votes
1answer
110 views

How to print out all request headers of HTTP requests on the server side?

I have a HAProxy configuration which balances requests to many servers. I want to compare the outgoing request headers when requests go thru HAProxy to the ones I would make directly to my servers. ...
0
votes
2answers
406 views

Can Squid 2.7 proxy gzipped content

We have a forward proxy for our network which is Squid 2.7. This is managed for us by a third party. We noticed recently that http requests going from our network to the web were having the ...
2
votes
1answer
1k views

Stop squid caching 302 and 307 with deny_info

TLDR: 302, 307 and Error pages are being cached. Need to force a refresh of the content. Long version: I've setup a very minimal squid instance running on a gateway which shouldn't not cache ANYTHING ...
0
votes
1answer
806 views

Get Squid to pass X-Requested-With header

I have configured a squid 3.1 proxy server. Everything works great except for the X-Requested-With header. I can't manage to figure out how to pass that header to the site I'm attempting to open via ...
6
votes
1answer
2k views

Nginx : strip header on HTTP, add header on HTTPS

I'm configuring an Nginx server so as to serve as a reverse proxy to serve a Django app (run on Gunicorn). My problem is that I want my site secured with HTTPS, and so I want my Django app to be able ...
1
vote
1answer
84 views

Strange stuff into Accept-Language header starting with x-ns

We are getting this kind of HTTP header: Accept-Language: fr-CH,x-ns1Ci7OslejNxN,x-ns2af6MxcVGQb2 Can anyone help me knowing where does it come from. It's just by curiosity that I'm asking this. ...
0
votes
2answers
403 views

If a server returns Cache-Control=public with no Max-Age or Expires, can a proxy cache it forever?

If a server returns Cache-Control=public with no Max-Age or Expires, can a proxy server cache it forever? Do proxies or the spec have a built-in default for these values? Is it always wrong for a ...
1
vote
3answers
5k views

Remove X-Forwarded-For header in Squid 3.0

Some months ago I was working with Squid 3.0 and managed to get rid of the X-Forwarded-For header completely. Now I am trying to do the same thing but I do not seem to hit the nail. I have tried ...
0
votes
1answer
229 views

Upstream proxy help!

My scenario is this: My manager wants random unmanaged users who come into meetings to have easy wireless access to the internet. We are running windows server 2003 with AD. The issue is our internet ...
2
votes
6answers
3k views

HTTP load balancer with header-based routing?

I am looking for a HTTP load balancing solution that will provide the following: 1) Accept HTTP connections on port X and forward them to one of multiple other hosts (and/or ports), either randomly ...