The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
29 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
61 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
34 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
52 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
20 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 ...
-2
votes
0answers
34 views

Nginx configuration problems with upstream directive

As a newb in the nginx configuration writing process, it seems more than typical to make a few mistakes or have some difficulty figuring out how to make certain directives work. However, after ...
-1
votes
0answers
23 views

Apache ProxyPass and PayPal

My architecture of mywebsite.com is: Internet -> ReverseProxy -> Webserver -> Database ReverseProxy IP = ppp.ppp.ppp.ppp Webserver IP = fff.fff.fff.fff I'm trying to configure webserver ...
0
votes
1answer
26 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
41 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
106 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
57 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
112 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
20 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
49 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
36 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
22 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
79 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
86 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
447 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
208 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
127 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
228 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
74 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
156 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
643 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
42 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
75 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
150 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
964 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
526 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
357 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
173 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
256 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
46 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
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 ...
1
vote
2answers
1k 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
237 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
117 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
101 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
695 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
61 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
686 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
33 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
280 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
146 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
140 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
544 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
110 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
521 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 ...