The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
1k views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
1
vote
0answers
15 views

NGINX Proxy and Wordpress [on hold]

I have been working on a NGINX proxy for A/B testing. This box has a virtualhost that keeps the corporate site, and aditionally I added another virtualhost that should redirect incoming traffic to a ...
0
votes
2answers
4k 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 ...
2
votes
2answers
11k views

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

** updated with workaround at bottom of this answer ** 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 ...
0
votes
1answer
36 views

Nginx upstream https not proxing other pages

Having odd situation, even don't know how to search in google, how to describe it...Anyway I'm using Nginx and proxy'ing https traffic to upstream server. Everything is fine with http (with others ...
0
votes
0answers
13 views

Deciphering Apache2 Proxypass error log

I'm having some issues with proxypass not doing what I expect so at the risk of getting flamed I'm going to ask for some help in sorting things out in stages. Front end is a lamp stack with a ...
0
votes
1answer
2k 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
0answers
21 views

nginx proxy pass without redirect

Hi i'm struggling with this issue for some time all examples I found don't work. I want to proxy a video on a remote server. This video is a stream so not a actual file; I was thinking something ...
0
votes
1answer
39 views

ProxyPass - Invalid URL

I am creating a simple proxy pass in Apache 2.2 on CentOS 6 but that's not working and throwing error. I would be thankful if someone can please help: SSLProxyEngine On ProxyPass / https://ecuo-...
0
votes
0answers
16 views

Serve subdirectory of apache with nginx proxy

i need to serve http://192.168.0.23/app1 (apache) to nginx http://app1.domain.com (nginx) i tried : server { listen 80; access_log off; server_name app1.domain.com; #...
-1
votes
0answers
31 views

Apache proxy sharelatex to location

Hello i am trying to use my apache as reverse proxy for sharelatex. My sharelatex instance is running in docker and is accessable via port 5000. Now i am trying to proxy it to my.domain/sharelatex/ ...
1
vote
2answers
1k 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 admin@...
1
vote
0answers
230 views

mywebsite.com/wp-admin it redirects to /wp-login.php and displays “File not found”

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
1k views

Proxy_pass 127.0.0.1 in nginx does not work

I install nginx as a reverse proxy. If I use: proxy_pass http://127.0.0.1:81 it does not work. But if I use: proxy_pass http://domain.com:81 it works. And I can use browser to access to http://...
2
votes
4answers
2k 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
1answer
34 views

Single front NGINX to proxy pass SSL to sites with their own certificates

Current setup: Front NGINX proxy passes 80 and 443 to local VM Local VM's NGINX redirects everything to HTTPS (if request is HTTP/80) Local VM's NGINX listens to 443 and proxy passes to the upstream ...
1
vote
1answer
24 views

Which server should generate the CSR when running SSL with Apache ProxyPass

I have an apache 2.4 server which uses proxypass to forward SSL connections for one domain to an OSX server 5.1.5 on the same local network. I generated my CSR on the apache server and it seems to ...
-1
votes
1answer
31 views

proxypass ajp with apache and tomcat for multiple websites

I have Website running on Tomcat on port 8080 with ProxyPass enabled. Now I want to install WordPress on Apache say www.domain.com/blog. I tried various combinations in Apache but without any luck. ...
0
votes
2answers
29 views

proxypass https from one servet to another as https

I have serverA which act as a reverse proxy for serverB. What i wish to accomplish is to porxypass an https connection from serverA to serverB. In other words: ---https-->(serverA)---proxypass-...
2
votes
1answer
43 views

Is it possible to redirect VPN traffic by Apache

There is a web server in my lab with Apache. Only 80 port is opened. I can install software on it. Is it possible to install some VPN tools and redirect the VPN traffic by Apache? In another words, ...
1
vote
0answers
56 views

Plesk 12.5 Nginx proxy pass SSL to Node app on different port [closed]

Preface: tried installing JXCore's Node Extension for Plesk, and I can't get it to work. Gives me some error, and their support is not answering emails...... [IP ADDRESS] = real IP, example.com = ...
1
vote
1answer
35 views

Running an application on a second server with a dynamic IP. Do I need two SSL certificates when using Apache ProxyPass?

Terms example.com: The domain that points to the static server. static server: This server has a static IP address and has Apache ProxyPass pointing to dynamic server. dynamic server: This server ...
0
votes
1answer
61 views

Nginx's location and proxy_pass missing a request when hash is present in url

I have this config server { listen 8080; access_log /var/log/nginx/access.log; root /usr/share/nginx/htdocs; index index.html index.htm; port_in_redirect off; location /...
1
vote
1answer
24 views

Removing path segments with encoded values for nginx

I have a location block like the following location ^api/([^/]+)(/.+)$ { set $my_host $1; set $my_path $2; proxy_pass http://$myhost$my_path$is_args$args; } This works well for most ...
0
votes
0answers
22 views

nginx - cannot get my subdomain running fine

I have a server "emberhub.me" with one subdomain "test.emberhub.me" I want to use SSL on all ... emberhub.me and www.emberhub.me requests should display the 'standard' Nginx welcome page ( /usr/...
0
votes
0answers
23 views

Single load balancer and multiple nginx reverse proxies

Right now, we have an nginx server behind a load balancer which act as a reverse proxy to our internal web server. We can add another nginx dynamically but what I would like to know is if it's ...
0
votes
1answer
33 views

Nginx Proxy Stops After 38 kB

I have a simple nginx 1.4.6 proxy running on a dedicated Ubuntu 14 server. My configuration looks like this: server { listen 80; listen 443 ssl; listen [::]:80; listen [::]:443 ssl; ...
1
vote
1answer
31 views

httpd.conf (ProxyPass and ProxyPassReverse)

I would like to ask what is the difference between the following configurations below. application original URL/location: http://localhost:8080/MyServerApp/App_1 1st set-up/configuration ...
2
votes
0answers
31 views

How to distinguish between internal error code 502 and upstream returned http_502 on a nginx proxy

We use nginx as a http proxy server.The following configuration: location / { proxy_pass_header Server; proxy_pass $scheme://$http_host$request_uri; } When urls proxied return error code ...
2
votes
1answer
162 views

Nginx redirect based on key word in arguments

I'm very new to nginx (1 day or so) and we are using it as a reverse proxy for a few applications. We are going to add another app which will process a small subset of existing requests. I'm trying to ...
5
votes
2answers
5k views

Apache ProxyPass ignore static files

Having an issue with Apache front server connecting to a Jetty application server. I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but ...
0
votes
0answers
73 views

nginx ping upstream server to get http 200 respponse

I setup nginx proxy server on my localhost at windows OS, I am running my JBoss server at port 8080 and I want to display maintenance page whenever nginx found that server is not running. by using the ...
0
votes
2answers
10k views

Use ProxyPassMatch on all URLs except the root path

I have searched high a low for a solution for this, and hoping it is just me. What I'm trying to do is redirect all traffic from a URL we host, to another server managed by another provider we ...
2
votes
0answers
51 views

ProxyPass a WebSocket connection to a UNIX socket

In Apache 2.4 you can reverse proxy an HTTP connection to a local Unix socket with: [1] ProxyPass unix:/path/to/app.sock|http://example.com/app/name You can reverse proxy a WebSocket connection to ...
2
votes
1answer
60 views

nginx proxy_pass is being ignored

I have an Nginx server which works as a proxy server. I also have 3 different NodeJS Express servers running on ports 8080, 9090 and 8888 (all working correctly). Servers 8080 and 9090 execute the ...
1
vote
0answers
22 views

Nginx proxy not same behaviour as A-records

I have a domain where I have a wildcard A record to a IP (61.61.61.61) (not under my control). Because I wanted some pages on the domain to be under my control, I thought it was easy to proxy all ...
1
vote
1answer
3k views

nginx: problem configuring a proxy_pass

I'm converting a web app from apache to nginx. In apache's httpd.conf I have: ProxyPass /proxy/ http:// ProxyPassReverse /proxy/ http:// The idea is the client send this url: http://web-server-...
0
votes
1answer
139 views

Nginx Reverse Proxy To Tomcat

I have setup an Ubuntu 15.10 x64 server on DigitalOcean to test several Java applications. I installed Nginx 1.9.3 and Tomcat8 and am using Nginx as a reverse proxy to forward all requests to Tomcat ...
0
votes
1answer
109 views

nginx upstream not working

upstream does not work when the proxyed server has more than one host name binding on the same port. I ran into this issue while trying to configure nginx (1.9.12-1~trusty) to proxy_pass a Windows ...
0
votes
1answer
70 views

Nginx Redirect all JPEG URL to single JPEG

There are two scenario that I'm trying to achieve. Scenario A : If client request URL that contains .jpeg or .jpg file, redirect the user to a single .jpg file that are on the server in this case ...
0
votes
0answers
31 views

Apache2 Proxy for Tomcat Application

My Apache2 is running on port 80 and Tomcat7 is running on port 8080. I want to forward all connections from port 80 to a Tomcat application. ProxyPass / http://www.example.tld:8080/app/ ...
0
votes
1answer
35 views

Proxy using nginx

I'm in the midst of a significant rewrite/update of group of services and am struggling with geting Apache/Nginx/Django to play nice with each other. What's happening here is there is an internal ...
0
votes
0answers
124 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
86 views

How to ProxyPass to a '/path/' instead of root '/'?

I am using Ubuntu-15.10 wily, Apache-2.4.12 I've been trying to use ProxyPass in an SSL enabled VirtualHost like so: ProxyRequests Off ProxyPreserveHost On <Proxy *> Require all granted &...
0
votes
0answers
20 views

apache2 proxypass with dynamic server address

I have an apache2 instance fronting all a number of different servers behind a firewall. One of the servers is an appliance that can have a dynamic number of subdomains. For instance, the base ...
3
votes
1answer
2k 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 http:...
0
votes
3answers
130 views

Nginx: proxy_pass dynamic from location

I hope you can help me with a little but tricky nginx problem: I want to configure a dynamic location-block like this: location /test1/* { proxy_pass destination.com/api/*; ...
0
votes
2answers
93 views

Using proxypass with cacti breaks in page layout

I'm trying to setup proxypass to map http://status.site.com/cacti to http://othersite.com:8080/cacti, but without mapping the whole /. Here the conf: <VirtualHost *:80> ServerName status....
0
votes
1answer
163 views

How do I proxy pass a URL in Nginx where location match is a URL and proxy pass has another URL

We have hosted some xml files in a S3 bucket on Amazon AWS. The web server is powered by Nginx. For a particular URL matching '/super-shots.xml' , Nginx must proxy pass through S3 location which is : ...
0
votes
1answer
245 views

Nginx proxy_pass always sending to [::1]

I am having problems with redirection from Nginx to gunicorn. I'm using proxy_pass to redirect to https://127.0.0.1:5000, and yet the redirect is being sent to https://[::1]:5000. Here is my own ....