Questions tagged [proxy]

Device or program that stands between two or more interconnected programs/devices

3307 questions
6
votes
2 answers

HTTP to HTTPS local proxy that can do the HTTPS connection over a proxy

Here's the deal: Our client software can only connect using http protocol, it can not do https. However, security requirements dictate end-to-end security, so we need to use https when talking to the server. Now I have been able to do this in a…
codeape
  • 485
  • 2
  • 10
  • 16
6
votes
1 answer

Best Practice for Mapping Domain Names to Docker Container

What is considered "best practices" for serving a a docker container from a specific domain name? For example: Container1 runs App A on port 8080, and accessed via AwesomeAppA.com Container2 runs App B on port 8090, and accessed via…
robodude666
  • 75
  • 1
  • 5
6
votes
2 answers

What is the difference between proxy_cache_ and fastcgi_cache?

I was searching for a simple Nginx microcache solution and I end up seeing two ways to have microcache. Some tutorials use proxy_cache, while others fastcgi_cache. What are the differences, pros and cons between these two solutions? Thanks!
Daniel
  • 193
  • 1
  • 6
6
votes
1 answer

Load balancing in Nginx with redirect rather than proxy

I want to use Nginx in a bit of an unconventional way. I want to load balance between a few servers, but rather than proxy content for those servers I want to redirect to them. That is, if a request comes into my Nginx server, it should 302…
Brad
  • 1,419
  • 22
  • 43
6
votes
1 answer

nginx 301'ing limit_req rate limited requests instead of error page

I have a bulk search form on apache servers behind nginx. I'd like to protect that location so that the second request in a 10 minute period gets 301'd to a "Would you like to use our API" page instead with something like: http { limit_req_zone…
mogmismo
  • 63
  • 1
  • 3
6
votes
3 answers

squid specify outgoing network interface

I have a Linux Debian machine with many network interfaces (venet0:1 to venet0:5) running Squid. If I connect to interface venet0:2 squid uses venet0:0 for outgoing traffic but I want Squid to use the same network interface for connections. So if I…
user2626702
  • 113
  • 2
  • 2
  • 9
6
votes
2 answers

Why put a reverse proxy in front of a WSGI server?

A typical configuration for deploying a WSGI application includes a WSGI server (such as uWSGI or Gunicorn) behind a general-purpose web server (like nginx) that acts as a reverse proxy. One major reason I know for having a reverse proxy is to serve…
Vasiliy Faronov
  • 215
  • 2
  • 5
6
votes
0 answers

Does the Great Firewall Of China Modify X-Forwarded-For

I'm looking at traffic from some of our Chinese customers and their X-Forwarded-For's look something like: REALIP, 127.0.0.1, REALIP, etc The interesting thing is the loopback IP is always the second IP address in the list. This implies the…
Gary Richardson
  • 1,827
  • 3
  • 20
  • 21
6
votes
2 answers

What's the minimum required Squid config to make a public proxy server?

I'm trying to configure Squid3 proxy server that any IP address on the internet can access, but default settings horrible and whatever I do it keeps giving TCP_DENIED/403 What's the minimum config that enables me: Any IP address can access All out…
dr. evil
  • 81
  • 1
  • 1
  • 6
6
votes
1 answer

Squid proxy not caching anything

squid.conf: http_access allow all # Squid normally listens to port 3128 http_port 3128 accel defaultsite=localhost no-vhost cache_peer localhost parent 80 0 no-query originserver name=myAccel cache_peer_access myAccel allow all # Uncomment and…
Dan Fabulich
  • 497
  • 1
  • 6
  • 19
6
votes
1 answer

ProxyChains is redirecting packets destined to local machine to the proxy server

I am using ProxyChains to connect to my proxy at college. It works very fine except that it even redirects packets meant for a local port to the proxy server…
Ashish
  • 165
  • 1
  • 7
6
votes
2 answers

Proxying websocket traffic from nginx 1.3.13 to socket.io (without SSL)

As of 2 days ago, nginx started to support websocket connections, therefore I was trying to get my nginx-nodejs-socket.io application to work without HAproxy ect (not much luck though). What I want exactly to achieve is nginx to send only websocket…
Skeptic
  • 191
  • 1
  • 1
  • 6
6
votes
3 answers

Best way to authenticate users to the proxy in mobile devices

As example, in Forefront TMG I can have a wpad entry in the DNS and computers discover it and autoconfigure the web proxy. When the user tries to go to the Internet he is promptped for the crendentials. In iPhone or iPad it doesn't work. Which is…
Ricardo Polo Jaramillo
  • 2,039
  • 2
  • 18
  • 35
6
votes
3 answers

Let Apache connect through a proxy

I have a question to let HTTP Proxy requests via a proxy. Here is the situation: - I am connected from home to a VPN of my company. - The VPN has a proxy server, which I have configured and it works correctly. I can reach all internal company URL's…
Sander
  • 163
  • 1
  • 1
  • 6
6
votes
1 answer

How can config squid to use a socks as parent or cascade?

I have a socks server and a squid linux server. How can config squid to use socks (as parent or proxy chain or cascade) ?
Metalik
  • 157
  • 1
  • 2
  • 10