The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
23 views

nginx proxy_pass and docker - I don't want port number in address bar

On mywebsite.com, I have running docker container with wordpress. I started it as docker run -p 8000:80 --name docker-wordpress-nginx -d and docker ps shows 0.0.0.0:8000->80/tcp and on my ...
0
votes
1answer
8 views

Reverse proxy settings ignored

After switching from Windows 8 Apache 2.2 or 2.4 (don't remember), 32bit to Apache 2.4.9, 64 bit, Windows 8.1 my proxy settings are ignored. All requests end up going to the default C:/wamp/www. The ...
0
votes
0answers
14 views

nginx index directive wrong file

I'm testing reverse proxy with nginx and I need http://localhost to go to http://localhost:8081/index-dev.html instead of index.html. Here is my config: server { listen 80; index ...
0
votes
1answer
17 views

How do I proxy requests to a subdomain to a different port on the same IP?

I am running Apache 2.4. I am in the situation where I have a web app running on :4567, and I would like to proxy it to subdomain.mydomain.com Currently, I have it setup as per the application ...
1
vote
0answers
9 views

Nginx: Logging 403's from proxies

So our server setup goes like this: www <-> nginx <-> backend services The internal services require authorisation, which often fails with a 403 if a user's token is incorrect and so ...
0
votes
1answer
23 views

How to use Nginx to both rewrite and proxy_pass whilst keeping the user-entered URL

I'm a beginner Nginx user trying to proxy the following: http://subdomain.example.com/mypage/login TO http://some_ip_address/login (not just /login - the site has other contexts too e.g. /static, ...
3
votes
0answers
27 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
33 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
53 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
52 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
78 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
16 views

SSLProxyMachineCertificatePath certificate selection

How does SSLProxyMachineCertificatePath cert selection works? Or does it sends all of them in the request ?
1
vote
1answer
99 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
52 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
44 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
49 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
40 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
15 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
83 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
132 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
107 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
66 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
51 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
342 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
276 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
216 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
106 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
18 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
56 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
126 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
72 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
525 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
708 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 ...
1
vote
1answer
145 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
236 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
197 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
1k 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
496 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
185 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
83 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
145 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
157 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
194 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 ...
3
votes
3answers
3k 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
144 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
194 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
63 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
2answers
294 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
56 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 ...