The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
3k views

Right way to configure Nginx filtering with ProxyPass

I am using Nginx to proxy pass to my wsgi app served with Circus. I want to allow the traffic to that app for some urls of the app only for some IP address. For now it look like this: server { ...
2
votes
3answers
2k views

Forwarding PHP requests via ProxyPassMatch as a handler, or only when file exists

I am migrating my server to use mod_proxy_fcgi and php-fpm instead of mod_php. Apache is able to forward .php requests to the fcgi proxy and PHP executes correctly. I've got this working with: ...
0
votes
1answer
1k views

Cas-protected site behind apache reverse proxy

My setup is: Cas server (lets say url https://localhost:8443/cas-server/) A cas-protected website hosted on a tomcat-server, running cas-client (lets say (https://localhost:4448/myApp) A httpd ...
0
votes
1answer
489 views

Replacing Apache2 for Varnish as a reverse proxy

I'm having some troubles replacing a Apache2 reverse proxy rule for a Varnish ACL. The apache rule is: <Location /MySite> ProxyPass http://192.168.0.123/OtherSite </Location> ...
2
votes
1answer
306 views

Setting up custom error pages for nginx with https and virtual hosts

We have an nginx (OpenResty 1.4.2.7) instance acting as a load balancer. It has two server directives, one to serve one specific site (let's call it www.our-special-host.com) and one wildcard for ...
1
vote
2answers
2k views

Apache reverse proxy for Cloud9 using ServerName

I am trying to setup a reverse proxy to a Cloud9 instance running locally on my server using Apache. I have the following setup: <VirtualHost *:80> ProxyPreserveHost On ProxyPass / ...
0
votes
1answer
444 views

Proxypass from apache to nginx

How do i convert below proxypass rules from apache to nginx ProxyPass /symptoms-search http://medgle.com/symptoms-search ProxyPassReverse /symptoms-search http://medgle.com/symptoms-search ...
-1
votes
2answers
1k views

Apache proxypass not working [closed]

Im trying to redirect http://domain.com/fw to my firewall, which is 192.168.x.x. When using proxypass, i get this errors in my log, and a 404 in my client: [error] [client x.x.x.x] File does not ...
1
vote
0answers
276 views

reverse proxy on apache for a single virtual host

Preamble: I've configured a publicly accessible server with multiple virtual hosts. The requests for one virtual host need to be sent to a backend server. All the other requests need to be served ...
2
votes
1answer
2k views

ProxyPass if RewriteCond is TRUE

At proxypass configuration file I have written this line ProxyPass /directory/ ajp://localhost:8009/directory/ It works perfectly At htaccess file RewriteRule ^seconddirectory/(.*)$ ...
0
votes
1answer
3k views

Apache Proxy Pass and Web Sockets

I'm using Apache with the mod_proxy module to reverse proxy my Node.js application through to port 80, so that we can access it as an internal application. I have a file in sites-enabled which ...
1
vote
3answers
1k views

Wrong redirection in ProxyPass from http to https

This is the scenario: I have got a linux server accesible only by one url (because the server is a virtual machine in a vpn): url: http://foo.bar.com I have got several web apps accessible in this ...
0
votes
1answer
218 views

Can Nginx proxy to an Nginx virtual host?

I've upstream in my http block: upstream backend.example.com { server 127.0.0.1:443; } And within the frontend's server block: location ~* ^/special { proxy_pass ...
0
votes
1answer
71 views

nginx rewrite in proxy_pass

I need proxing to different backend but whith same url, so rewriting thould be like this URL: http://myservrer.com/server/monitoring1?(parameters) REWRITE TO: ...
0
votes
2answers
10k views

Use ProxyPassMatch on all URLs except the root path

I have searched high a low for a solution for this, and hoping it is just me. What I'm trying to do is redirect all traffic from a URL we host, to another server managed by another provider we ...
0
votes
1answer
3k views

Using apache ProxyPass to forward URL on new site to old webserver

We are currently moving our site to a CMS, and in the process moving to a different server. There is some code on the older server that we do not want to move to the new server. We want the URLs to be ...
6
votes
1answer
9k views

ProxyPass: Redirect directory URL to non-standard port

I've been searching Google and have no had much success in finding an answer. I'm running a server on Ubuntu and I have programs installed that use various non-standard ports. Each one uses a ...
0
votes
1answer
482 views

apache2 proxypass hangs

We have apache2 proxy server at front end and running couple of application servers at backend, one of the buggy app server hangs and reboots, which takes 2-4 minutes, during this time all of other ...
1
vote
0answers
500 views

nginx proxy_pass to different backends based on location / passing rewrited url

What the quickest and cleanest solution if you want to proxy URL request to two different backends via proxypass based on location. location /app1/ { alias /var/www/ruby/public; ...
0
votes
1answer
1k views

nginx proxy_pass POST 404 errors

I have nginx proxying to an app server, with the following configuration: location /app/ { # send to app server without the /app qualifier rewrite /app/(.*)$ /$1 break; ...
1
vote
0answers
199 views

ProxyPass on httpd breaking encoding

We are sending content with multibyte character data to proxypass, which is converting the characters to %uFFFD when it hits our database. How do i prevent httpd from messing with the encoding like ...
0
votes
1answer
125 views

2 virtual domains: one on port 80 one on port 8080, how?

I've been struggling with this, basically what I want is this: A virtual domain to run on the 80 another virtual domain to run FROM 80 TO 8080 what I've done so far is trying different combinations ...
1
vote
1answer
985 views

Fisheye + Nginx Reverse Proxy

I'm trying to run Fisheye behind a proxy. So far, I've managed to get Jira and Stash to work behind the proxy, but not Fisheye. Here's my config file in Nginx: server { listen 80; server_name ...
0
votes
1answer
474 views

Nginx Reverse Proxy as folders

I'm trying to configure Nginx to proxy stuff on a subdomain: dev.int.com I want dev.int.com to be proxied to IP:8080, and dev.int.com/stash to be proxied to IP:7990 Here's my current config file ...
0
votes
1answer
212 views

Apache2 proxypass

i'm trying to figure out why my apache2 reverse proxy doesn't work... hope someone can clarify. i'm using an apache server as a gateway with proxy pass: 10.184.1.2 is the IP. these are PP ...
1
vote
1answer
435 views

Java website on Tomcat PHP website on Apache - how to get PHP web pages into Java web pages?

We have a Java web application deployed on Tomcat. We also setup Apache and mod_proxy_ajp to route web requests (port 80/443) to Tomcat. We would like to deploy a PHP application on the same Apache ...
0
votes
1answer
315 views

Using Jira on subdomain and not 8080

I have Jira installed as a service on my Ubuntu VPS on 8080. I've successfully used ProxyPass and ProxyPassReverse to point http://jira.mydomain.com to http://mydomain.com:8080 However, after login, ...
1
vote
1answer
166 views

ProxyPass: discard body data

I have some rules like <Location /xyz> ProxyPass http://example.com/abc ... </Location> I want to accept requests to http://mypage.lan/xyz/123 and deliver the data of ...
1
vote
0answers
550 views

Mod disk_cache permanent caching images and disabling reacurring header updates

I am trying to get mod disk_cache to permantly cache images retrieved from an image server on the webserver using ProxyPass. While the image is being retrieved correctly from the server and is served ...
1
vote
1answer
3k views

Nginx - assigning non-root location to proxy_pass

What I like to do is to proxy requests from http://example.com/proxy/foo to http://localhost:8060/foo This config proxies http://example.com/proxy/foo to http://localhost:8060/proxy/foo server { ...
1
vote
0answers
173 views

What status code does Apache return when ProxyPass max is exceeded?

From http://httpd.apache.org/docs/2.2/mod/mod_proxy.html max 1...n Maximum number of connections that will be allowed to the backend server. The default for this limit is the number of ...
1
vote
1answer
1k views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
3
votes
1answer
3k views

How to prevent nginx from reverse proxy specific subdirectories

On Apache you can ProxyPass everything except one or more subdirectories (with "!"). ProxyPass /subdir ! ProxyPass / http://localhost:9999/ What is the Nginx equivalent ? My first guess is ...
0
votes
1answer
202 views

SSL certificate for ISAPI redirected Web Site

I have a Win 2003 server and I'm using Ionics Isapi Rewrite Filter to redirect requests made to a Web Site configured in IIS to another Apache2 Server in a server not exposed to the Internet. The Web ...
6
votes
3answers
12k views

Nginx proxy domain to another domain with no change URL

My question is in the subj. I have a one domain, that's nginx's config of it: server { listen 80; server_name connect3.domain.ru www.connect3.domain.ru; access_log ...
5
votes
2answers
5k views

Apache ProxyPass ignore static files

Having an issue with Apache front server connecting to a Jetty application server. I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but ...
0
votes
1answer
3k views

Apache forwarding to tomcat shows a blank page

I have an application running on tomcat at http://www.example.com:9090/mycontext. The host name in server.xml points to www.example.com. I do not have localhost anymore. I am using apache to forward ...
2
votes
1answer
5k views

proxypass apache over nonstandard port - how can it be that the 192.168.*:9999 works from the computer itself but not another computer on the network?

httpd.conf vhost looks like this: <VirtualHost *:9999> ServerAdmin admin@example.com ServerName www.example.com ServerAlias example.com # Indexes + Directory Root. ...
0
votes
1answer
1k views

Multiple ProxyPass directives for Webmin on Debian Apache Server

I am trying to achieve what is described under: Webmin In A Sub-Directory Via A Proxy on this website Webmin under Apache Guide ...but, with more than one webmin (all on different servers, but ...
1
vote
1answer
247 views

Exclude urls containing a specific port from being passed by Proxy

how can I force ProxyPass / ProxyPassReverse NOT to pass a request if the client provides a certain port? The following passes EVERY request made to the machine correctly: <VirtualHost ...
0
votes
1answer
1k views

Proxy_pass 127.0.0.1 in nginx does not work

I install nginx as a reverse proxy. If I use: proxy_pass http://127.0.0.1:81 it does not work. But if I use: proxy_pass http://domain.com:81 it works. And I can use browser to access to ...
4
votes
1answer
7k views

Issues with ProxyPass and ProxyPassReverse when proxying to localhost and a different TCP port

I am attempting to use ProxyPass and ProxyPassReverse to proxy requests through Apache to another server instance that is bound to the localhost on a different TCP port that the Vhost exists (VHost is ...
13
votes
4answers
11k views

How do I configure Nginx proxy_pass Node.js HTTP server via UNIX socket?

I am trying to configure a Nginx server to connect to a Node.js HTTP server via a UNIX domain socket. The Nginx configuration file: server { listen 80; location / { proxy_pass ...
1
vote
1answer
1k views

Apache proxypassing to IIS sometimes raises ProxyError

we have an ASP.NET 4 website deployed on two nearly identical VirtualBox VMs with IIS 7.5. They are both hosted on the same Ubuntu system with Apache 2.2.14. Apache decides by hostname ...
0
votes
2answers
234 views

Do I have to open a port for mod_proxy and ProxyPass to work?

Here's my situation: I have a server running Apache on port 80, a node.js application on port 8000, and I'd like to know if I have to open ports in order for ProxyPass and mod_proxy to work. Related ...
1
vote
1answer
3k views

nginx: problem configuring a proxy_pass

I'm converting a web app from apache to nginx. In apache's httpd.conf I have: ProxyPass /proxy/ http:// ProxyPassReverse /proxy/ http:// The idea is the client send this url: ...
1
vote
1answer
726 views

Apache mod_rewrite in proxy mode, .htaccess and ProxyPassReverse

In a .htaccess file, I have something like this to proxy Apache to Tomcat: RewriteRule (.*) http://localhost:8080/tomcat-app/$1 [P] All the redirects as well as internal links in HTML files are ...
1
vote
1answer
877 views

Serving Rails through Apache using ProxyPass

I have a working rails application that I want to be served through another domain name. So I modified the VirtualHost by adding it as a ServerAlias: <VirtualHost *:80> DocumentRoot ...
2
votes
1answer
2k views

Apache proxypass trailing slash / directory issue

I have a legacy site for a charity running on an old Apache 1.3 instance, behind Apache 2 running proxypass. When a request comes to example.com, Apache 2 sends it internally to localhost:8080 which ...
0
votes
1answer
637 views

Question about the syntax of the ProxyPass directive

All over the internet I see examples of people using ProxyPass, where the syntax looks something like this: <Location /> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ...