The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
0answers
166 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
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
0answers
52 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
0answers
180 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
1k 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
861 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
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
0answers
325 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
330 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 (http://internalserver/foobar....
1
vote
0answers
260 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
99 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
81 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
231 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
39 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
54 views

SSLProxyMachineCertificatePath certificate selection

How does SSLProxyMachineCertificatePath cert selection works? Or does it sends all of them in the request ?
1
vote
0answers
284 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
178 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
689 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
479 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
279 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
503 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
203 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
553 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
176 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
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
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
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; #...
0
votes
0answers
23 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
24 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
0answers
75 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
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
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 ...
0
votes
0answers
115 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
123 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
171 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
32 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
70 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
293 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
37 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
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
76 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/" "https://internal.com:8880/...
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
0answers
24 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
230 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
582 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
660 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
67 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
374 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
577 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 ...
-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/ ...