Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
8 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
1
vote
1answer
31 views

Using nginx to proxy multiple instances of sockets.io

I have two separate node.js applications running behind nginx. Both the apps use socket.io and express. One is served on port 5000 and the other on port 5001. But we need them both accessed through ...
0
votes
0answers
13 views

Apache ProxyPass URL with non ascii characters

I am trying to setup a proxy before a glassfish server using german umlauts like following: ProxyPassReverse / http://localhost:2080/Getränke/ where the target url containing Getränke is a SEO ...
0
votes
1answer
112 views

Nginx dynamic proxy_pass doesn't resolve properly

I'm having problems configuring nginx, I've searched the web for solutions and I have some bits and pieces but I'm still not able to come up with proper configuration. I have registered a domain, ...
0
votes
1answer
38 views

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

NGINX: HTTP access not working from Chrome, only HTTPS

I 'm trying to publish IBM Connections NGINX allowing access using HTTP and HTTPS . By HTTPS is working but when i try to access by HTTP I get this error in Google Chrome only: This XML file does ...
0
votes
1answer
33 views

How can i set SCRIPT_NAME when using proxy_pass with nginx

I have a perl catalyst application that i'm mounting on a specific url (vs mounting on a subdomain) and am having problems setting SCRIPT_NAME on the request to the backend. This affects the urls ...
0
votes
1answer
84 views

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

Apache mod_rewrite failing to catch non existing URLs ending with PHP if run with PHP-FPM (FCGI) mode

On our production server we run in to issue when non existing URLs that ends with .php extension like www.domain.com/test.php are not passed back to Apache and mod_rewrite is not triggered and as ...
0
votes
2answers
48 views

Why does this proxypass affect all domain?

I'm running Apache, and have a .conf file as a site-enabled in apache as below. <Virtualhost blog.example.com:80> ServerName blog.example.com ServerAdmin admin@example.com ProxyRequests ...
1
vote
1answer
91 views

nginx reverse proxy not passing requests

I have a domain (example.com) and a subdomain (sub.example.com) both hosted on the same server. I want to proxy a request so any file requested on http://sub.example.com/api/ will be requested on ...
1
vote
0answers
169 views

Apache 2.4 RequestHeader while reverse proxying with ProxyPass

I'm using Ubuntu 14.04 and have multiple Apache HTTP VirtualHosts listening on port 80. One site is reverse proxying for application listening on localhost. Apache has Basic authentification ...
0
votes
1answer
53 views

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

Apache 2.4 <locationmatch> occuring before .htaccess

I have the following configure in my apache config: <VirtualHost *:80> <Directory "/var/www/site.com"> Options +Indexes +FollowSymLinks +ExecCGI -MultiViews ...
0
votes
0answers
76 views

Nginx doesn't properly reverse proxy pass cookie to tomcat

My tomcat application tries to read a cookie but on the first load it can't read it. After a reload or couple reloads it will read cookie properly. This is intermittent after a few hours or so. I know ...
0
votes
1answer
68 views

Setting up ProxyPass for a Virtualmin virtual server

I am trying to set up my web server so that I can server multiple Ghost.org blogs. I am stuck in one crucial step. To be honest, my knowledge in servers is not so big, so I request your help to do ...
0
votes
0answers
61 views

nginx proxy_pass upload cut at 64K

I made a node.js server that can receive and process file uploads. When I access the node.js server directly everything works fine. I have put an nginx server in front of if, and small files uploads ...
0
votes
1answer
140 views

How apache reverse proxy can be configured without breaking the https tunnel between client & server?

I have configured apache reverse proxy. In that configuration https connection is possible between client to reverse proxy and again reverse proxy to server. But I want https connection between client ...
0
votes
2answers
105 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
203 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
27 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
52 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
53 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
26 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
89 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
117 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
698 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
251 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
147 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
246 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
80 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
210 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
1k 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
47 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
89 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
170 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
2k 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 ...
1
vote
1answer
816 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 ...
1
vote
0answers
386 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
205 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
348 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
54 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 ...
2
votes
2answers
2k 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 ...
2
votes
2answers
2k 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
1k 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
268 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
164 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
110 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
872 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 { ...
1
vote
2answers
800 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: ...