The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
8 views

Multiple Client Certificates in SSLProxyMachineCertificateFile

Here is my use case. I want to learn how to setup Apache, so this is just for learning. Feel free to suggest better alternatives. I'm using Apache 2.4 in RHEL5. I want to use a ProxyPassMatch to ...
0
votes
0answers
18 views

OHS proxypass to https

I would like to make my OHS2.2 web server run as a reverse proxy server and i have tried so many times with various configures. i almost gave up and found a configure for apache webserver which ...
0
votes
0answers
36 views

Nginx - default 404/403/500 when using proxy_pass

I have two locations in my nginx config. It tries to serve static files from local filesystem, and if the file is not found there, it tries accessing a remote file server: location ~* ...
0
votes
1answer
42 views

Apache losing VirtualHost configurations “randomly”

I am hoping someone might be able to shed some light on this issue that I have had no luck solving elsewhere. We are running an Apache (2.2.15) server used for basic load balancing, but ultimately ...
0
votes
2answers
53 views

Apache proxypass redirect subdomain to port and path

Ok, I wasn't sure how to word the title but I'll try to explain my situation. I have a home server running debian that, among other things, is running "plex media server". I access my server ...
1
vote
0answers
15 views

SSLProxyMachineCertificatePath certificate selection

How does SSLProxyMachineCertificatePath cert selection works? Or does it sends all of them in the request ?
1
vote
1answer
63 views

Apache ProxyPass worker name too long

I'm passing my php files to php5-fpm within my Apache .conf file however I'm receiving an error message when restarting the Apache server: ProxyPass worker name ...
0
votes
0answers
41 views

nginx: [emerg] “proxy_pass” cannot have URI part in location given by regular expression, or inside named lo

I am using nginx to upstream to a different set of servers depending on the geo of the user. As it seems the geoip module does not return any value for the local addresses (localhost, 192.168.0.X ... ...
0
votes
0answers
33 views

Using ProxyPassReverse in Apache 2.4 to run in front of Gitlab, how would I also enable User Directories in Apache?

I'm using Apache 2.4 to proxy with the gitlab omnibus package generally following this strategy from the gitlab recipes. I also want to have User Directories, like /~username using mod_userdir. To ...
0
votes
0answers
7 views

ProxyPass with Cloudfare

For some reason I need to access https://www.upwork.com/api through reverse proxy with Apache through http://headbyte.com/api . I created following entries in Apache config: SSLProxyEngine On ...
0
votes
0answers
29 views

Apache Proxy & Basic Auth

Im trying to set up an Apache Proxy which also does LDAP Basic Auth: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin webmaster@localhost ...
0
votes
0answers
31 views

How to get REMOTE_USER via Apache proxy?

I'm using an Apache as forward proxy for Auth to another application,see following conf: <VirtualHost *:8080> ProxyRequests On <Proxy *> Order allow,deny Allow from all ...
0
votes
1answer
13 views

How can I accept responses from an API with multiple subdomains?

I write website prototypes that use data from a server I do not control, the response is in JSON and the server does not support JSONP, thus I have problems with CORS as I am developing in the client ...
2
votes
1answer
62 views

Communication between Apache and glassfish

We are currently using HTTPD server (apache) to handle client request. The requests are further proxied to a Application Server (glassfish) which provides the content. The content are static files ...
0
votes
1answer
90 views

Apache Multiple ProxyPass 404

I am trying to setup a proxy through Apache 2 on Ubuntu 14.04. I have two proxies that I want to use. One is for a Ruby Thin server running locally. The other is for a phone statistics page. I have ...
1
vote
2answers
85 views

nginx - why i can't use variables in proxy_pass path?

Why i can't use variable $user in proxy_pass - like in example below? server { listen 80; server_name ~^(?P<user>[a-z|A-Z|0-9|_|-]+)\.example\.net$; root /home/$user/webapps/; ...
0
votes
0answers
56 views

X Forwarded For Showing Origin IP

My X-Forwarded-For header is showing my origin IP. I am routing traffic via Cloudflare and I know it's touchy with that header. I changed it to MYNAME-Forwarded-For just to check and it still shows ...
0
votes
1answer
45 views

Nginx: location regex not working

i'm getting trouble with my regex don't know what is wrong with it. it's returning a URi with orls/f instead of orls/f?p=4550. When i pass https://secure.toto02.com/orls/myservice/f?p=4550 my conf ...
0
votes
1answer
278 views

Port 80 to port 8080 Redirection: Apache with Proxypass Too Slow Whereas Accessing xyz.com:8080 directly is very fast

We are facing a Strange Problem....We have a busy server...and the response time is going about 1 Minute Per Request(very slow).....which is running in front of Tomcat.....if we are accessing site ...
0
votes
0answers
233 views

Nginx proxy pass url from get argument

Let's say I have server example.com with nginx. I want to make a proxy which will proxy pass URL given as part of request URI or GET parameter (it may contain query string). So e.g. I want nginx to ...
0
votes
1answer
157 views

Tomcat Clustering With Apache-[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy

I am new to apache and tomcat, and trying to implement clustering with mod_proxy and able get run multiple tomcat instances but got stuck. Here is my config: httpd.conf: LoadModule proxy_module ...
0
votes
1answer
87 views

apache mod_proxy and original URL

I have apache 2.2 mod_proxy working well for the most part, but are having some trouble with some of our newer tools. We have the config file for one server below. Our problem is, when a user goes ...
0
votes
0answers
17 views

apache2 point folder to subdomain

I need to point domain.com/chat to chat.domain.com. So, when I access domain.com/chat I want to see the same thing as when I access chat.domain.com. My virtualhost for this looks like below. As you ...
1
vote
1answer
51 views

Apache2 Reverse Proxy - different handling or urls

I struggling with a reverse proxy configuration and specific rewriting/proxypass depending on URL-path. Szenario: Reverse Proxy in DMZ SSL ends on Reverse Proxy Requests should be passed to ...
0
votes
0answers
116 views

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 ...
1
vote
0answers
64 views

Apache2 Subdomains www https proxypass

I have a quite complicated setup. At least for me, since I'm new to apache, mod_rewrite and all that stuff. What I want is this: remove all www prefixes redirect all subdomains to https, and so, ...
0
votes
1answer
475 views

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

Redirect traffic based on url to different ip address maintaining port and url information [duplicate]

We have a QA version, a UAT version, and a DEV version of webapp. Users need to access these via http://uat.company.com:41002/webapp, http://qa.company.com:41002/webapp, and ...
0
votes
1answer
112 views

ProxyPassReverse Not Working with 302 Redirect

I'm using Apache HTTPD to proxy a local Tomcat server: ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Everything works fine except when I have a 302 redirect. For some ...
0
votes
0answers
214 views

nginx not handling proxy_redirect when forwarding through another proxy

This is my configuration: location /nexus { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote-addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header ...
0
votes
0answers
177 views

Configure nginx to proxy pass when some conditions occurs or to use php fastcgi otherwise

I have a particular case on which I want to redirect visitors to a "prerender" server when I found out the visitor is a crawler (to give a SEO-optimised website) and to a standard php fast-cgi ...
1
vote
2answers
864 views

NGINX proxy_pass with URI modification

I need to pass some requests to proxy (running GlassFish) with removing one section of url. For example: https://xxx.net/jazz/MobileApi?id=2&make_id=4 Should be passed to proxy as: ...
1
vote
1answer
450 views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin ...
0
votes
1answer
169 views

Nginx proxy_pass entire request to remote server

I want to have phpMyAdmin running under another port and pass all requests that go to /pma/ to 127.0.0.1:8081 Thats my Nginx config server { listen 80; ... location /pma/ { ...
1
vote
1answer
75 views

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: <VirtualHost ...
1
vote
1answer
133 views

JBoss application behind apache ajp proxy with subdomain - duplicated context

In my application, I'm making some standard scenario where Java web app is deployed on JBoss with apache proxy upfront. The webapp is accessible from /esp context so direct url would be (but I've ...
0
votes
0answers
156 views

Creating 503 redirect using htaccess while using proxypass

I have an external server (a) that is performing a proxypass reverse to an internal server (b) IP here is my config in default-ssl <Location /> AllowOverride All ProxyPass ...
0
votes
1answer
172 views

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 ...
2
votes
3answers
2k views

Nginx location regex doesn't work with proxy pass

I'm trying to get these 2 location directives working in Nginx but I'm getting some errors back when booting Nginx. location ~ ^/smx/(test|production) { proxy_pass ...
0
votes
1answer
130 views

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

nginx: Append to proxied URL with proxy_pass

I'm dealing with some legacy issues where I have to reconfigure servers hosting a PHP based application. One of the decisions was to move away from Apache onto Nginx. Now the application hosts two ...
-1
votes
1answer
62 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
247 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
53 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 ...
1
vote
1answer
1k 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
154 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
429 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
147 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
371 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
100 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 ...