Questions tagged [proxypass]

ProxyPass in Apache, and proxy_pass in nginx, are directives used to specify which backend or remote server should process the request

ProxyPass in , and proxy_pass in , are directives of the default module that are used to specify which or server should process the .


ProxyPass in :

https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass


proxy_pass in :

http://nginx.org/r/proxy_pass

http://ngx.su/src/http/modules/ngx_http_proxy_module.c#ngx_http_proxy_pass

578 questions
0
votes
0 answers

nginx proxy pass on nginx 1.1.19

I am trying to get images not found on our staging server to automatically load from the production server. I tested this locally with the following configuration on nginx 1.6.2: And this worked as expected server { root /var/www/html/test; …
cnizzardini
  • 153
  • 1
  • 2
  • 13
0
votes
1 answer

nginx proxy pass / rewrite with multiple locations to passenger app and php-fpm

On a server for a small team of people (up to 30) I installed several services which have to be accessible from the browser. I want to use nginx because I consider it being more lightweight. All services/apps are tested standalone and do their job.…
oliverjkb
  • 614
  • 1
  • 6
  • 10
0
votes
1 answer

ProxyPass Not working (No errors)

I am attempting to forward one of my apache domains onto a different port (which is hosting an Nginx-backed rails app) In my http.conf for the particular virtual host I have:
Jay
  • 9
  • 2
0
votes
1 answer

Apache2 ProxyPassReverse not rewriting URL properly

I have the below apache virtualhost configuration. ProxyPassReverse does not appear to be converting the URLs properly. URL http://www.example.com/9999pcap/ shows a directory listing on a remote device and the directory listing looks fine but if you…
Aedan Renner
  • 1
  • 1
  • 3
0
votes
1 answer

Apache proxy to Glassfish - How to supress subfolder in URL?

I've got a single linux server running Apache/2.2.24 running both HTTP/HTTPS along with a Glassfish 3.1.2 server listening on port 8080. Glassfish runs a single deployed application which has subfolders for separate websites,…
PeteJ
  • 1
  • 2
0
votes
1 answer

zabbix & configuration apache proxy header with headers

I wanted to implement checking a page that is available for the two data centers. However, web scenarios zabbixie 2.2.1 does not properly handle headers. I got the idea that it will use for the apache proxy, but I think I made some mistakes in the…
Mick
  • 347
  • 3
  • 14
  • 27
0
votes
1 answer

Nginx - proxy_pass - specific location not working

I am trying to masking a remote URL with Nginx using proxy_pass I'd like to load staging.saas.localhost/_ when the browser url is saas.localhost/uk_staging. For some reason the location in saas.localhost is not working, and for not working I mean…
Jeff
  • 5
  • 3
0
votes
1 answer

Nignx Redirect rule to a different url based on a query

We have a wordpress installation and need to redirect lost password link to another different url for this we trying to setup a redirect rule but this is not working. Can anyone please help us. location / { proxy_pass http://localhost; …
Geo
  • 575
  • 3
  • 9
  • 23
0
votes
0 answers

Apache 2.4 occuring before .htaccess

I have the following configure in my apache config: Options +Indexes +FollowSymLinks +ExecCGI -MultiViews AllowOverride All DirectoryIndex /index.html…
Richard
  • 1
  • 2
0
votes
1 answer

SIMPLEST way to proxy name-based virtual hosts

Right now I'm doing this with the following Apache directives to map host names to port numbers: NameVirtualHost *:80 ServerName local.stardust-game.com ProxyPass / http://127.0.0.1:5555/…
Max Cantor
  • 121
  • 3
0
votes
2 answers

net err connection timed out

I have Apache/2.2.22 on Ubuntu 12.04. Apache is set as reverse proxy server. So when accessed from a remote system, the page and contents are displayed. But after some time the server seems to refuse any further requests. The remote browser…
anjo
  • 31
  • 1
  • 4
0
votes
1 answer

Apache ProxyPass in Dynamic Mass Virtual Hosting

In order to make my life easier with new vhosts popping up I set up my httpd.conf to use this: RewriteEngine On RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$ RewriteRule ^(.*)$ -…
LoneWolfPR
  • 275
  • 1
  • 3
  • 17
0
votes
1 answer

nginx proxy_pass receive content/status headers when http 4xx

Was having some trouble as chronicled here - https://stackoverflow.com/questions/22570550/play-2-2-1-simpleresult-4xx-response-body-possible-via-cors-xhr But I didn't focus on nginx since the 200 OK happy path was working as expected. It was 400…
notbrain
  • 209
  • 3
  • 16
0
votes
1 answer

ngnix to apache configure proxy settings

I've to migrate from ngnix web server to apache web server. The ngnix configured as proxy server for 80 and 443 ngnix confuiguration as following : server { listen 443; server_name my_root_domain.com; root /etc/nginx/html; …
Toren
  • 137
  • 3
0
votes
2 answers

Apache mod proxy to local server running a VPN

I have an open server that's running Apache and a closed server that's also running Apache and that's behind a firewall and running a VPN. I'm trying to forward requests from a sub domain to the closed server using the open…