The tag has no usage guidance.

learn more… | top users | synonyms

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 ...
1
vote
1answer
66 views

How to convert this from nginx to haproxy

How can I write this proxy pass example from nginx: code one: location /appDir/ { proxy_pass https://Name/appDir/; } to haproxy? additionally: the below is from haproxy site. code two: ...
1
vote
1answer
62 views

Nginx 0.7.43 to proxypass a Wordpress site to Apache 2.4 + PHP 5.6

I'm trying to use an existing nginx running on port 80, to proxypass towards Apache serving a Wordpress website. nginx section added (some commented tests left intentionally, i tried so many versions ...
1
vote
1answer
76 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 ...
3
votes
0answers
99 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 ...
2
votes
0answers
46 views

Set CORS headers on nginx

Addresses like http://vpsxxx.ovh.net/g/search?q=ok or http://vpsxxx.ovh.net/so/questions/34738694/how-to-move-items-on-the-screen-for-a-game-using-javascript are proxied well, when trying them from ...
2
votes
0answers
832 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 ...
2
votes
0answers
740 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
82 views

I get “ERR_EMPTY_RESPONSE” on my website when i'm using proxy

I have a dedicated server with: Ubuntu 14.04.3 BIND 9.9.5-3ubuntu0.5-Ubuntu (Extended Support Version) Nginx version 1.9.6 On Port 81 PHP 5.5.30 (cli) with Zend OPcache v7.0.6-dev MySQL 5.5.45 UFW ...
1
vote
0answers
94 views

Apache ProxyPass => IIS 8

TL;DR: Web tasks taking longer than 5 minutes through an Apache ReverseProxy errors out. Tasks/reports of shorter duration succeed. Directly accessing reports succeeds ...
1
vote
0answers
165 views

nginx proxy_pass with dynamic upstream servers

We're currently stuck in a situation where we are using nginx as our main frontend server for a set of services backed by a dynamic DNS based service discovery with Mesos-DNS. Our nginx configuration ...
1
vote
0answers
58 views

nginx proxy_pass adds port number to URL

I have a standard Rails app deployed to Heroku. I am using custom buildpacks to install nginx so I can create some rewrite rules and a reverse proxy. I have it mostly working save for one issue. I ...
1
vote
0answers
65 views

Nginx reverse proxy variables and resolver

I am trying to set up reverse proxy with a wild card on both ends, eg. test.example.com to test.local, etc. So far I have this and it is working. server { listen 80; server_name ...
1
vote
0answers
172 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 ...
1
vote
0answers
30 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 ...
1
vote
0answers
36 views

SSLProxyMachineCertificatePath certificate selection

How does SSLProxyMachineCertificatePath cert selection works? Or does it sends all of them in the request ?
1
vote
0answers
251 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 ... ...
1
vote
0answers
133 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, ...
1
vote
0answers
598 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
0answers
433 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 ...
1
vote
0answers
265 views

reverse proxy on apache for a single virtual host

Preamble: I've configured a publicly accessible server with multiple virtual hosts. The requests for one virtual host need to be sent to a backend server. All the other requests need to be served ...
1
vote
0answers
470 views

nginx proxy_pass to different backends based on location / passing rewrited url

What the quickest and cleanest solution if you want to proxy URL request to two different backends via proxypass based on location. location /app1/ { alias /var/www/ruby/public; ...
1
vote
0answers
189 views

ProxyPass on httpd breaking encoding

We are sending content with multibyte character data to proxypass, which is converting the characters to %uFFFD when it hits our database. How do i prevent httpd from messing with the encoding like ...
1
vote
0answers
529 views

Mod disk_cache permanent caching images and disabling reacurring header updates

I am trying to get mod disk_cache to permantly cache images retrieved from an image server on the webserver using ProxyPass. While the image is being retrieved correctly from the server and is served ...
1
vote
0answers
170 views

What status code does Apache return when ProxyPass max is exceeded?

From http://httpd.apache.org/docs/2.2/mod/mod_proxy.html max 1...n Maximum number of connections that will be allowed to the backend server. The default for this limit is the number of ...
0
votes
0answers
37 views

NginX ProxyPass only works via subdomain not domain.com/path

I currently am working on configuring an nginx reverse proxy for the esxi html5 web client. I have seen two reported working configs. There is this one: server { listen 443 ssl; server_name ...
0
votes
0answers
20 views

Apache proxy returning 403 forbidden

I'm trying to set up a home page where I can redirect my requests to others servers with a proxy so I have a single point of entry. I used to have this setup working properly on a windows machine ...
0
votes
0answers
29 views

Nginx redirecting POST request with proxy_pass can't resolve url

I'm trying to redirect POST requests with a proxy_pass. Here is my full servers config (2 servers): # default server with all my subdomains server { listen 80 default_server; listen [::]:80 ...
0
votes
0answers
21 views

How to get nginx host variable to work with proxy_pass

I am trying to setup an nginx proxy in front of any s3 website that I point at it. In the example below I have my DNS records customsite.com pointing to my proxy. When I don't use any variable for the ...
0
votes
0answers
27 views

Error with proxypass subdomain

I have an Ubuntu Server 14.04 with Apache 2.4.7 and Wildfly 8 installed. Apache runs in the front and Wildfly in the back. Apache proxies all the apps running on Wildfly. Now I am trying to proxypass ...
0
votes
0answers
140 views

Apache 2.4.10 Debian Jessie, ProxyPass random failure with AH01084 and AH01097

I'm using Apache 2.4.10 on a Debian chroot system on an android system to https enable a legacy Android Java webserver that has no support for SSL. The vast majority of the features function correctly ...
0
votes
0answers
20 views

A little help understanding why a proxy_redirect (nginx) directive solves my 400 error?

After trawling the internet, I finally solved a persistent error 400 (Bad Request) I kept being issued by the Nginx server. It turned out that the solution was simple - set proxy_redirect to off. In ...
0
votes
0answers
71 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 ...
0
votes
0answers
48 views

How to configure apache redirect in a server to entire pages in another server

I have two servers and two sites: Main server hosting a web site: http://www.yaesta.com/wordpress/index.php/category/tecnologia/ And another server hosting a blog: http://yaesta.com/blog I'm trying ...
0
votes
0answers
52 views

Apache reverse proxy rewrite failing to mask internal URL

I am having an issue setting up a Reverse proxy scenario to an internal URL authentication service. Using Apache I have setup the below - ProxyPass "/mqa/login/" ...
0
votes
0answers
156 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
177 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
0answers
75 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
116 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
0answers
106 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
0answers
22 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 ...
0
votes
0answers
186 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 ...
0
votes
0answers
422 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 ...
0
votes
0answers
598 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
0answers
536 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
64 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 ...
0
votes
0answers
314 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
0answers
532 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
77 views

using the Host header with ProxyPass

Can I somehow work in the Host header's value into the ProxyPass directive and also add custom header? Building an intelligent proxy and basically need to reroute the incoming requests (on a neutral ...
-1
votes
0answers
11 views

Apache ProxyPass, app and static files

I am using node and apache to host, my site's conf file is like this: <VirtualHost *:80> #Domain Name ServerName testblog.me ServerAlias www.testblog.me #HTTP proxy/gateway server ...