Questions tagged [reverse-proxy]

A reverse proxy is a type of proxy server that fetches resources from a specific defined set of servers for a client. It is used in cases when there is an advantage to not exposing the web server with the content directly whether it be for security reasons or because of a lack of available public IP addresses.

A reverse proxy is a type of server. Unlike a traditional "forward proxy" server, a reverse proxy fetches resources from a specific defined set of servers for a client. The Apache HTTPD server's mod_proxy module is a popular example of software that can be used as a reverse proxy.

A reverse proxy can be used in cases when there is an advantage to not exposing the server with the content directly to the Internet, whether it be for security reasons or because of a lack of available public IP addresses.

3190 questions
4
votes
0 answers

Delegate SSH USERAUTH traffic based on user name

I want to do delegate pubkey-based authentication for a given user to a different SSH server, without modifying client configuration but allowing modifications to server software. There are several similar questions already. This and this ask for…
MvG
  • 1,813
  • 15
  • 18
4
votes
0 answers

laravel app cannot detect https schema behind reverse proxy

I've a following config: <80 nginx> laravel has a method called asset() which is supposed to detect schema and output correct url. But it doesn't, I asked question on stackoverflow - but its clear it is not php issue,…
user113400
4
votes
0 answers

500 internal error when setting up reverse proxy for Wikipedia

Access to Wikipedia can be disturbed randomly in my country Running Debian 7 with nginx 1.2.1 with additional ngx_http_substitutions_filter_module use several sub-domains to reverse proxy corresponding sub-domain of wikipedia w.mydomain.tld for…
Zetaix
  • 41
  • 3
4
votes
4 answers

nginx reverse proxy without base url

I have an application that I can't configure a base url. Let's say that its url is 192.168.1.100:8011 I want to configure the nginx so I can entrer an url like 192.168.1.100/myappand it goes to the other app. The configurations that I'm used to do…
Jp Felgueiras
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

How to change http to https when tomcat redirects happen

I'm using elastic beanstalk single instance. So there is apache configured and tomcat is behind listening on http port 8080. Apache is configured on using ssl https 443. The problem is that tomcat redirects using http. But I can't set up apache to…
maximus
  • 145
  • 6
4
votes
2 answers

reconfiguring haproxy backend dynamically

My requirement is to have ~50 haproxy http backends, which will be added and removed dynamically (without my involvement) anywhere on the internal network. I can assume that each http backend knows its IP address and knows the IP address of haproxy.…
Adam Kurkiewicz
  • 141
  • 1
  • 4
4
votes
0 answers

HAproxy and nginx RTMP

I am trying to use HAproxy in front of an RTMP nginx server. It does connect but it does not play the video. I have 2 servers: one with nginx using RTMP and another one with HAproxy. This is the HAproxy config: listen rtmp :1935 mode tcp balance…
miko
  • 41
  • 3
4
votes
1 answer

Why is my nginx reverse-proxy not caching anything?

I'm following this sample configuration from the Nginx docx. Reverse-proxying works fine except that it isn't caching results. Here is my nginx.conf: user http http; worker_processes 1; events { worker_connections 1024; } http { …
usermynut
  • 53
  • 1
  • 3
4
votes
0 answers

Set CORS headers on nginx

Addresses like http://vpsxxx.ovh.net/g/search?q=ok or http://vpsxxx.ovh.net/so/questions/34738694/how-to-move-items-on-the-screen-for-a-game-using-javascript are proxied well, when trying them from the browser url bar But not from JS, even after…
caub
  • 149
  • 1
  • 4
4
votes
1 answer

apache reverse proxy: following redirects?

Is it possible to make apache (2.2) mod_proxy follow upstream redirects (http 301, 302)? Usually one would configure a reverse proxy like: ProxyPass /foo http://upstream.example.com/bar ProxyPassReverse /foo …
André Fernandes
  • 969
  • 1
  • 10
  • 25
4
votes
2 answers

Basic auth Apache with Tomcat

I have the following server setup: Apache Tomcat 7 running Atlassian's Jira (http:// :8081/tickets) Apache 2.4 web server as reverse proxy serving only the jira application at the moment, but there are more to come…
4
votes
1 answer

Nginx as reverse proxy for GitLab with SSL?

I have GitLab's nginx setup to listen at 127.0.0.1:8088 . Then I have a system nginx (installed via apt-get on Ubuntu) setup as reverse proxy with HTTPS: upstream gitlab { server localhost:8088 fail_timeout=0; } server { …
He Shiming
  • 283
  • 1
  • 3
  • 12
4
votes
1 answer

Nginx Load Balance / Proxy to Upstream with Path / Rewrite

Basically I have a API farm as 192.168.1.1, 192.168.1.2, 192.168.1.3 However the endpoints have different folder structure (3rd parties which i can't amend!) So basically I want to have a nginx config something like this upsteam api_servers{ …
4
votes
3 answers

Wordpress wp-admin redirect loop behind IIS ARR Reverse Proxy

I've got a bit of a unique and interesting setup going on from what I can tell, with an interesting issue. I have a Windows Server 2012 box as my main web server hosting website.com. At http://website.com/sites/ I have a reverse proxy setup with ARR…
Chiggins
  • 811
  • 8
  • 21
  • 37
4
votes
2 answers

How to remove request blocking on apache reverse proxy after failure of backend before asking backend again?

I am working on an apache2 reverse proxy vhost. When the server behind apache is down, the first request to apache shows the error page of course. But at subsequent requests it seems apache delays for some time before asking the backend server…
user12096
  • 927
  • 6
  • 23
  • 39