Questions tagged [reverse-proxy]

In computer networks, a reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client through the reverse proxy as though they originated from the server itself.

In computer networks, a reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client through the reverse proxy as though they originated from the server itself.

234 questions
22
votes
3 answers

Apache reverse proxy: no protocol handler

I am trying to configure a reverse proxy with apache, but I am getting a No protocol handler was valid for the URL error, which I do not understand. This is the relevant configuration of apache: ProxyRequests Off ProxyPreserveHost On
blueFast
  • 2,656
  • 9
  • 31
  • 44
17
votes
2 answers

How to make nginx rewrite URIs in HTTP body content?

This is a follow-on to my earlier question on how to Make nginx reverse proxy 302 redirect to a URI sub-folder instead of root. I have an nginx proxy server that uses the rewrite and proxy_pass directives to proxy external requests to a URL like…
Steve HHH
  • 6,960
  • 6
  • 29
  • 37
15
votes
4 answers

Instant reverse HTTP proxy from a Linux command-line

There is a nice trick to instantly serve contents of a current working directory by HTTP locally: $ python -m SimpleHTTPServer This command launches HTTP server at *:8000, serving $PWD contents. I'm looking for something similar, but for setting up…
Alexander Gladysh
  • 952
  • 2
  • 16
  • 31
13
votes
4 answers

Haproxy for SSH name based proxying

I have a host machine with several lxc containers. I am trying to give ssh access to containers directly based on domain names. For this I have tried setting up HAProxy. Could achieve this easily with ACLs in http mode. When I try the same with tcp…
Medhamsh
  • 303
  • 1
  • 4
  • 8
12
votes
1 answer

How to make a local web server visible from the internet *without* setting up port forwarding on the router?

I develop websites on my (high-end) laptop, and I work from a variety of physical locations. I would like to save the hassle of constantly synchronizing with an externally visible web server in order for clients to test progress of the site (or for…
Dan Nissenbaum
  • 561
  • 2
  • 10
  • 25
11
votes
3 answers

Apache as reverse proxy for multiple destinations and one default destination

Looking for help for the next Apache's reverse-proxy problem. have an Apache 2.4 on the localhost:80 (a.a.a.a:80) have 3 different web applications one runs on localhost:8000 (a.a.a.a:8000) two others are in another machines - so x.x.x.x:8000 and…
kobame
  • 435
  • 2
  • 5
  • 12
7
votes
1 answer

How do I use allow/deny in conjunction with set_real_ip_from?

My nginx backend server should only accept requests from my frontend, 1.2.3.4. However, I also want nginx to log the correct IP address, so I use set_real_ip_from. But by doing this, the allow rule in the config isn't matched, and nginx will always…
Jay
  • 81
  • 1
  • 2
6
votes
1 answer

Make nginx reverse proxy 302 redirect to a URI sub-folder instead of root

I have a web server on my LAN with the URL https://10.0.0.22 and I am trying to access it from the internet through an nginx reverse proxy with a URL like https://domain.com/my/web/app. The difficulty I'm having is that the local server sends a 302…
Steve HHH
  • 6,960
  • 6
  • 29
  • 37
4
votes
0 answers

Airflow + Nginx set up gives Airflow 404 = lots of circles

I'm trying to set up Airflow behind nginx, using the instructions given here. airflow.cfg file base_url = https://myorg.com/airflow web_server_port = 8081 . . . enable_proxy_fix = True nginx configuration server { listen 443 ssl http2…
Blessy
  • 141
  • 4
4
votes
2 answers

How to find which ip is hammering my website?

I have website which recently got so much traffic that my server load went to sky. load average: 83.99, 72.89, 77.70 My website is hosted on dedicated server with 64 GB RAM and Intel i7 6700k CPU. and is behind cloudflare. I don't use any analytics…
user176344
4
votes
0 answers

How can I proxy without context path?

I have been using apache/sonar like this. Order deny,allow Allow from all ProxyPass /sonar http://localhost:7070/sonar nocanon ProxyPassReverse /sonar …
Jin Kwon
  • 336
  • 1
  • 5
  • 16
3
votes
0 answers

configuring squid reverse proxy

I want to configure reverse proxy by Squid. I edited squid.config but it doesn't work # TAG: http_access http_access allow all http_access allow localhost http_access deny all # TAG: http_port http_port 3128 defaultsite=220.69.***.*1 //my…
최진우
  • 31
  • 1
3
votes
1 answer

Is my understanding of the WSGI path correct

My past web application experience is limited to a few Apache+PHP experiments. Starting from this background I've been reading up on using Python for REST services, and this is my current understanding of the stack. Is this picture…
Johan
  • 191
  • 1
  • 9
3
votes
1 answer

How to Set Up Nginx as a Reverse Proxy

I am trying to set up nginx to behave as a reverse proxy listening on a subdomain we control. I have followed examples found online and they mostly work with one exception that isn't clear to me. Inspect the server block below: server{ listen…
3
votes
1 answer

Reverse Proxy for TCP (RDP, VPN, etc) and HTTP

I have a domain that points to my ISP assigned IP though a CNAME (cname goes to my noip address incase my ISP decides to change the IP), I would like to route different subdomains to various IP:PORT combinations in the internal networks, but I’m not…
Greg Somers
  • 41
  • 1
  • 5
1
2 3
15 16