The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
9 views

PHP-FPM and ProxyPass disables the possibility to use FilesMatch?

i'm using PHP-FPM and mod_proxy_fcgi for serving PHP files. The system is blazing fast and works flawlessly except i'm not able to use the FilesMatch directive in Apache. Well that makes sense because ...
0
votes
1answer
27 views

proxypass /jenkins to port 8080?

Hi I have a VPS running cpanel and it is also running Jenkins on port 8080 I have used proxypass in the Apache config to redirect jenkins.rystuff.net to port 8080 but was wondering if there is a way ...
0
votes
0answers
13 views

Handling spaces in SCRIPT_FILENAME with mod_rewrite

I'm having trouble using a reverse proxy when my URL has a space in the script name. For example: http://test.com/exam/good%20job.html?success=1 Gets rewritten and sent to: ...
0
votes
1answer
26 views

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 <VirtualHost *:80> ServerName local.stardust-game.com ProxyPass / ...
0
votes
2answers
24 views

Can you use Redirect and Proxypass at the same time

I am using Apache 2.2.15 on CentOS to provide SSL for a TomCat application. ProxyPass / http://127.0.0.1:8090/ connectiontimeout=300 timeout=300 ProxyPassReverse / http://127.0.0.1:8090 This works ...
0
votes
0answers
25 views

Redirections to ajenti port using nginx aren't working [duplicate]

I recently installed Ajenti with the Ajenti V plugin suite and got it configured in a way that the https://ajenti.domain.com:8000/ link works. So what I was trying to do is to redirect ...
0
votes
0answers
14 views

ProxyPassReverse from unique path and HTTP_HOST

This is probably super simple and something I overlooked (or totally misunderstand). Trying to redirect all incoming traffic for a certain path to one of my other servers (I put the wrong environment ...
0
votes
0answers
32 views

Changing the current URL but serving content from another (same domain) - ProxyPass?

I've been banging my head against the wall with this for months now so I hope someone on here will be able to finally advise what is needed for this. I have some URL's like this:- ...
0
votes
1answer
34 views

Whitelist nginx proxy_pass $args

I have nginx configured to proxy requests : server { listen 80; server_name proxy.mydomain.com; location /proxy { resolver 8.8.8.8; proxy_pass $args/; } } So ...
0
votes
1answer
105 views

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 ...
0
votes
1answer
60 views

Optional URL segments in NGINX

I need to proxy pass multiple segments further to another server, there can be up two 5 segments. What nginx needs to match example.com/somehash example.com/somehash/segment1 ...
0
votes
1answer
73 views

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: <IfModule mod_vhost_alias.c> <VirtualHost *:80> RewriteEngine On RewriteCond ...
0
votes
1answer
130 views

nginx proxy_pass receive content/status headers when http 4xx

Was having some trouble as chronicled here - http://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 ...
0
votes
1answer
54 views

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 ...
0
votes
2answers
86 views

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 ...
0
votes
2answers
174 views

In Apache how to define multiple ProxyPass to different servers with the same context-root?

I have a requirement for my webapp to proxy to 2 external reporting servers. So I will have a menu-item for each external reporting server. But the browser-URL has too look like it's my server so I ...
0
votes
0answers
32 views

Apache: Running ghost on a subdomain

Does anyone have hints for running ghost on a subdomain with the following apache conf: <IfModule mod_vhost_alias.c> UseCanonicalName Off VirtualDocumentRoot /var/www/%0/httpdocs ...
1
vote
1answer
59 views

Reverse Proxy homepage only

I regularly use Apache to reverse proxy to other servers using ProxyPass and ProxyPassReverse. I have been doing this by top level folder. But now I have the requirement to put the site's home page on ...
0
votes
0answers
97 views

Configure nginx proxy_pass

I am trying to use a proxy to be able to call the url https://:8082/test and "redirect" to https://:8081. I tried with the "location /" it is working well but when I put a specific location like ...
0
votes
1answer
213 views

Nginx. Using redirects with regular expressions

I'm a newbie to nginx. I have the nginx before Apache and I'm having problems. I seem to need 2 rules in the config: Rule 1) if we have url "/my_path" we don't touch it but user goes to ...
0
votes
1answer
155 views

nginx proxy_pass with a backend requesting client certificates

We're proxying a backend that we don't control & the backend is requesting a client certificate when connecting on https. When we request these pages through the proxy the connection times out ...
0
votes
0answers
125 views

Can I prevent Apache ProxyPass from returning HTTP 401?

I have Apache 2.2.22 acting as a proxy server, and it's doing authentication against an LDAP server: <Location /app> AuthType Basic AuthName "Test access" # ..mod_auth_ldap config ...
0
votes
0answers
211 views

nginx proxypass squid

I'm trying to run squid server behind nginx. my sample configuration : location ~* ^/get/(.*) { proxy_pass http://ip:3128; proxy_set_header Host evenstatichostnamefortest.com; ...
1
vote
1answer
92 views

Apache ProxyPass exclude. Don't proxy 404 addresses

I'm trying to set up a reverse proxy with Apache, and for the most part it is working well with ProxyPass. I would like to exclude one of the directories which I understand I can do with the ! ...
0
votes
0answers
142 views

Apache2 ProxyPass / ProxyPassReverse results in 404 for only one out of many directives

Apache2, mod_proxy installed, using reverse proxy for more than a dozen sites, works flawlessly for those. Added one more directive but going to that URL results in a 404 error. For the purpose of ...
0
votes
0answers
36 views

Oracle HTTTP Server, mod_plsql and Proxypass

Already i have three apps, they have URL like: domain.com/pls/app1 domain.com/pls/app2 domain.com/pls/app3 Now i want to make a subdomain for every app and want the new URL mask the old ...
1
vote
2answers
847 views

How to remove the path with an nginx proxy_pass

I have a running web-application at http://example.com/, and want to "mount" another application, on a separate server on `http://example.com/en. Upstream servers and proxy_pass seem to work, but for ...
1
vote
2answers
456 views

nginx unwanted location redirect with trailing slash

I have a location location /pass/ { proxy_pass http://localhost:12345/; } So it is supposed to proxify urls http://example.com/pass/whatever to http://localhost:12345/whatever The thing I ...
1
vote
1answer
774 views

NGINX: can I use a mapping of upstream servers with proxy_pass directive?

I have an NGINX server that acts as reverse proxy to a bunch of backend IIS servers. I would like to pass each incoming HTTPS request to a certain backend (upstream) server, depending on the URI ...
0
votes
0answers
187 views

Subsonic not working behind nginx due to ;jsessionid= being add to every single URL

I started using nginx as a front-end in order to standardize my services access via sub-domains. It works well for pydio and webmail (RainLoop, very good), but Subsonic doesn’t log in. There is no ...
1
vote
0answers
95 views

Apache ProxyPass to Rack gives 404 error

(for simplicity I changed IPs of Apache server to 1.1.1.1 and Gollum server to 6.6.6.6) I'm trying to serve a Gollum wiki with rack through Apache (since it has SSL set up properly and I'm currently ...
0
votes
0answers
89 views

Serve WordPress site from separate servers using nginx proxy_pass

I'm trying to setup two separate servers. The first one should answer all the requests from www.example.org. The second one, should display a WordPress blog and answer only when the user goes to ...
1
vote
1answer
455 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 { ...
0
votes
0answers
52 views

Apache Proxy automatic redirect

I am facing an issue with the ProxyPass on my Apache server on Ubuntu I have configured apache to deal with virtual Hosts on my server There is an application with runs on the server and uses ports ...
1
vote
2answers
500 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
0answers
31 views

strange behaviour: phpmyadmin nginx host with proxy pass

server { listen 80; server_name phpmyadmin; location / { root /var/www; index index.php index.html index.htm; } location ~ \.php { proxy_pass ...
0
votes
1answer
169 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
83 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
109 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
409 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
97 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 ...
0
votes
1answer
279 views

Apache proxypass not working

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 ...
0
votes
0answers
196 views

NGINX Forward Proxy

I am trying to build a forward proxy with nginx as described in this article: http://kovyrin.net/2010/07/24/nginx-fu-x-accel-redirect-remote/ Part of my nginx configuration is: location ~* ...
1
vote
0answers
88 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 ...
0
votes
0answers
65 views

using the Host header with ProxyPass

Can I somehow work in the Host header's value into the ProxyPass directive and also add custom header? Building an intelligent proxy and basically need to reroute the incoming requests (on a neutral ...
1
vote
1answer
400 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
797 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 ...
0
votes
0answers
116 views

Nginx as Reverse Proxy + URL Rewrite + Caching

Im a newbie to nginx and i have few queries in setting up nginx as a reverse proxy with url rewritting and Caching. I have setup my Nginx to act as a reverse proxy. When the user types ...
0
votes
3answers
252 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
83 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 ...