Skip to main content

Questions tagged [reverse-proxy]

Filter by
Sorted by
Tagged with
7 votes
5 answers
3k views

What is a "reverse proxy" in webmastering?

I understand that in computing, the word "proxy" means "medium" or entity Y that mediates between entity X to entity Z. I have often heard on sysadmins using the webserver software ...
user avatar
7 votes
3 answers
5k views

Functional difference between proxypass and proxypassreverse in Apache

The official document states that: The ProxyPass configures the server to fetch the appropriate documents, while the ProxyPassReverse directive rewrites redirects originating at internal.example.com ...
Lunartist's user avatar
  • 173
6 votes
1 answer
4k views

Using mod_rewrite to check for existence of a cookie

I have an internal website at my company that I'd like to allow outside access to via a reverse proxy with an Apache Server. The difficulty here is that I only want particular mobile users accessing ...
ThatGuy's user avatar
  • 61
6 votes
1 answer
771 views

Nginx reverse proxy into external cPanel server results in an error

I am trying to reverse proxy into a cPanel account by attempting to use the following Nginx configuration (123.123.123.123 is the cPanel IP), but I'm getting an error: ERR_TOO_MANY_REDIRECTS server { ...
Toodarday's user avatar
  • 123
6 votes
1 answer
2k views

How does proxy work in Virtualmin, and can I forward whatever.domain.example to an internal ip address with a different port?

In Virtualmin, I've read that you can set up a proxy website under a subdomain. All traffic on port 80 hits Apache where there are multiple virtual servers sharing the internal server IP. I have a ...
Jon Griffith's user avatar
5 votes
1 answer
11k views

Nginx fails to start HTTP/2 server due to error: unknown log format

In our hosting server from the Plesk cpanel, Nginx is configured to work as a reverse proxy engine. As I need to enable HTTP/2 that can speed up the loading time of Plesk and hosted websites. ...
Nɪsʜᴀɴᴛʜ ॐ's user avatar
5 votes
1 answer
4k views

ProxyPassReverse doesn't keep me on the proxy URL when I click around

I have the following virtual host on my personal web server which runs on my NAS.I have dynDNS setup to redirect both mydomain.com and *.mydomain.com to my NAS. <VirtualHost *:80> ...
Ram Gogada's user avatar
4 votes
3 answers
3k views

Mirror website across different hosting accounts

Is it possible to mirror a website across different hosting accounts, for example: exampleA.com (public) exampleB.com (private) When people access the website they will be visiting exampleA.com but ...
user1995781's user avatar
4 votes
1 answer
2k views

Redirect requests on alternate port for Apache virtual host

I have Apache server where I make my LoadBalancer for my application sereres through proxy and balancermember. Some of my clients come from legacy access, they use a port in the URL example.com:2030 ...
Gustavo Oliveira's user avatar
3 votes
3 answers
3k views

Reverse proxy SSL with Nginx, do I need a wildcard or a separate cert for every host?

I have Nginx setup and successfully serving SSL to example.com using certbot/letsencrypt. But when I try to reverse proxy to a local machine I get NET::ERR_CERT_COMMON_NAME_INVALID. Here's the ...
THE JOATMON's user avatar
3 votes
1 answer
270 views

How can I make a URL on one domain "front" content from another domain?

Let's say I have name.example.com and example.com set up using different CMS's I would like name.example.com/supercool-landing-page to resolve as (www.)example.com In other words, when you visit (www.)...
Gottano's user avatar
  • 63
3 votes
2 answers
153 views

Mod Rewrite proxy to different backend hosts

I have a virtual host with multiple ServerAlias host1.example.com host02.example.com etc. I match the same pattern and based on ServerAlias I want to proxy them to different backend hosts. What I ...
CapAsk's user avatar
  • 33
3 votes
1 answer
2k views

Is it possible to see my site's real IP address if I'm using a CDN like CloudFlare?

CloudFlare acts as a reverse proxy and caches site content. Is it possible to see my site's real IP address if I'm using a CDN like CloudFlare? When I check my site's IP address using a lookup ...
user avatar
3 votes
1 answer
6k views

Proxy a domain from one server to another and retain domain name

I have a single external address that points to a server that is serving multiple domains using virtual hosts. I would like to serve one of the virtual hosts on a new physical machine and am trying to ...
Dave's user avatar
  • 200
3 votes
1 answer
787 views

Can a reverse-proxy be used to show content from a domain with Windows server on another domain with a Linux server?

I have a website that was developed and is hosted on a Windows server (Server A). We want to have these Windows hosted pages to show up on another website that is hosted on a Linux server (Server B). ...
Mark's user avatar
  • 31
3 votes
1 answer
767 views

Cache an external site that may have a mobile version

In continuation of the answer for the "Nginx Reverse Proxy for Tumblr" question, what is the best way to cache a web-site like Tumblr with nginx, which returns distinct results depending on the User-...
cnst's user avatar
  • 972
3 votes
0 answers
169 views

Facebook share preview not working when behind reverse proxy

I host a website on Azure (Web App), but in front of it there is a reverse proxy server (Win Server 2012R2, IIS 8, ARR 3) to route /blog requests to another server. If I try to share an url (...
Hrvoje Hudo's user avatar
2 votes
2 answers
7k views

Reverse-proxy to hide iframe origin. How does that work?

Somebody told me to use a reverse proxy to make iframe content relevant for the website embedding it. But I can't get my head around how would that work? As I understand it, I would need a reverse ...
smoe's user avatar
  • 21
2 votes
1 answer
946 views

Apache proxy, ws vs. wss and https

O-tree is a web-based software that uses websockets. I have it working on http://server.example:81 and I want it to be in https://server.example. It almost works with <Location /> ...
Jori Mäntysalo's user avatar
2 votes
2 answers
61 views

Where in the path may I put the language identifier?

My organization has an SEO Auditor telling us that we need to create subdirectories for languages that we support on our website. That requirement is fine. Our organization's site is comprised of a ...
Andrew K.'s user avatar
  • 123
2 votes
1 answer
501 views

How to set up a reverse proxy on an SSL subdirectory from another server?

Setup is as follows: Our agency's client's domain is https://www.example.com (with SSL certificate from Amazon) They have NGINX severs, and manage their own hosting They want us to build a few simple ...
Baumr's user avatar
  • 1,444
2 votes
1 answer
2k views

Apache proxypass directive does not recover quickly

I am using this "simple" apache ProxyPass directive. <VirtualHost *:80> ProxyPreserveHost On ProxyPass / http://0.0.0.0:3000/ ProxyPassReverse / http://0.0.0.0:3000/ ...
rogerdpack's user avatar
2 votes
2 answers
196 views

Cloudflare plus Nginx plus Tomcat - is Nginx redundant?

With my past project, I have Nginx serving static files as well as being a reverse proxy for Tomcat (backend written in Java). There was no Cloudflare or other CDN. With my current project, I have ...
Yuriy N.'s user avatar
  • 195
2 votes
2 answers
12k views

Apache reverse proxy changing Content-Type

Update 3: I've experimented a bit with setting ContentType for all css files to different types like text/plain, text/html and text/css in the .htaccess file of the webserver hosting Owncloud and ...
Jimmy's user avatar
  • 131
2 votes
1 answer
58 views

Show content from a back end server on another host in a Wordpress sub directory without changing the URL

We currently have a bunch of ASP.NET applications which are all accessible through one domain. So www.example.com connects to the main website. www.example.com/documents is a separate application ...
Chris Nevill's user avatar
2 votes
1 answer
75 views

Identify IP address / hosting of inner pages

Working on a website which an SEO agency had previously done lots of spammy work on and built loads of duplicate home pages in subfolders just with a different locals in the title and URLs. However ...
Max's user avatar
  • 6,157
2 votes
0 answers
246 views

How do I redirect a subdomain blog to a subfolder without .htaccess?

I currently have a blog hosted with Squarespace on a subdomain, let's call it blog.example.com. I have my storefront hosted separately on www.example.com. My blog receives a good amount of traffic, ...
user3103523's user avatar
2 votes
0 answers
128 views

Nginx reverse proxy 404 multiple apps [closed]

I'm configuring nginx reverse proxy functionality. It's not working for apps as written below. I'll give you an example of /hbase/. When I enter url /hbase/ in browser, I get 404 it redirects to /...
Zakaria Jawwad's user avatar
1 vote
2 answers
52 views

Display a Wordpress website on a subdirectory of a Drupal website

My company's website is on Drupal. Let's say the website domain is blue.com We just acquired another company "Acme" and their website is on Wordpress, and it HAS to stay on Wordpress. -We ...
Dabbletechy12's user avatar
1 vote
1 answer
13k views

How do I use URL redirection with reverse proxy?

My requirement is to redirect the URL, which is running on port 80 with reverse proxy. I guess I would have to use URL redirection, reverse proxy together. There is already a web-domain active like : ...
Vijay's user avatar
  • 11
1 vote
2 answers
188 views

Prevent attackers from seeing the real IP address behind a Cloudflare proxy

How do I prevent attackers from discovering my real hosting IP (where I'm hosting my website) that is hidden behind CloudFlare Proxy?
Tony's user avatar
  • 63
1 vote
1 answer
71 views

Apache2 Only Showing Default Page/Unlimited Redirects

I am using a reverse proxy to show my bitwarden site. Here is the .conf in my sites enabled: <VirtualHost *:80> ServerName bitwarden.example.com Redirect "/" "...
Jason Chan's user avatar
1 vote
1 answer
2k views

nginx how to configure nginx to nevigate to a subpage for reactjs app

I have following nginx setup where I used proxy configuration to redirect my landing page (built with reactjs) to my domain, say (www.example.com), here is my nginx configuration server { listen 80; ...
Md. Tanvir Raihan's user avatar
1 vote
1 answer
91 views

Where To Configure SSL On Nginx Reverse Proxy or on Apache2 on Ubuntu 18.04 Server?

My question is about SSL/TLS. I'm running Ubuntu 18.04 server with: Apache2 serving 3 public domains on 1 public IP. On the same server I'm running: Nginx and will configure as a reverse ...
Thomas Engel's user avatar
1 vote
1 answer
808 views

HTTPS proxy in Apache without certificates

The TLS handshake initiation contains the requested domain in cleartext, to allow a server to select the correct certificate. Therefore, the server should be able to proxy the handshake, and all ...
Tempestas Ludi's user avatar
1 vote
1 answer
3k views

How to run multiple Node.js sites (apps/servers) with separate SSL cert's, on a single IP address?

The desired scenario is as the title suggests: Multiple Node.js servers/apps/websites, on separate domains, each with own SSL certificate, on a single server with a single IP address. So far I have ...
marko-36's user avatar
  • 405
1 vote
1 answer
1k views

VPS with single IP and nginx reverse proxy

I have a VPS with a single IP assigned to it. I am going to set up an nginx reverse proxy to hopefully serve a number of websites from the same server. As far as I understand, I can have various ...
myol's user avatar
  • 133
1 vote
2 answers
7k views

Webmin: Cannot login through nginx reverse proxy

I've created a reverse proxy for webmin through nginx to run webmin at [site domain]/webmin instead of port 10000 ([site domain]:10000). When I go to [site domain]/webmin, the login page shows up as ...
BBB's user avatar
  • 119
1 vote
2 answers
3k views

How to run WordPress and Java web app running on Tomcat on the same server?

I have to run a WordPress site served via Apache2 & Java-based webapp using Tomcat on the same server. When users come to example.com or example.com/public-pages they need to served from ...
Chantz's user avatar
  • 133
1 vote
1 answer
320 views

How do i setup a simple smart dns proxy service using nginx? [closed]

I have trying to setup a smart dns proxy service using nginx reverse proxy mode. its ok with http sites but i have issues with https sites. when i want to open https sites via my proxy i got following ...
rmasoumvand's user avatar
1 vote
1 answer
423 views

cPanel powered site is not accessible via IP address by my reverse proxy (it gives a 404 error)

I'm paying for a hosting service which uses cPanel, and a domain name. Originally, my domain name pointed straight to the hosting service (as is the default). A new layer I'm adding is a reverse ...
Seph Reed's user avatar
  • 135
1 vote
1 answer
3k views

Apache Reverse Proxy Rewrite Remote_User

Running httpd 2.4.6 on CentOS 7 as a reverse proxy for Splunk with SSO. This works with no proxying: RewriteCond %{LA-U:REMOTE_USER} "user" [NC] RewriteRule ^.*$ - [F,L] The above does NOT work ...
Robert Gabriel's user avatar
1 vote
1 answer
1k views

Get real user IP behind two reverse proxies

This is my environment setup: Server A hosts the site (Nginx + PHP-FPM + Wordpress) Server B is Nginx reverse proxy for server A Cloudflare reverse proxy is on top of all. Therefore, user request ...
Ali Hashemi's user avatar
1 vote
1 answer
2k views

CGI with Reverse Proxy Settings (Apache)

I have two VMs running two webapps. We want to use example.com/foo for accessing VM1, and example.com/bar for accessing VM2. For both VMs I need to call a cgi script for downloading. So I have ...
Alwyn Pan's user avatar
1 vote
1 answer
1k views

HTTPS with Typo3 behind a reverse proxy

I have problems running typo3 (version 6.2.30 LTS) on my webhoster. The hoster uses an reverse proxy in front of the webspace which seems to forward all requests as normal http requests. The php-...
Marcel P's user avatar
1 vote
1 answer
1k views

Ranking drop after using reverse proxy for blog subdirectory and robots.txt for old blog subdomain

We have a 3Dcart store and a WordPress blog hosted on a separate server. Originally, we had a CNAME set up to point the blog to http://blog.example.com/. However, in our attempt to boost link-based ...
BaButtons's user avatar
1 vote
0 answers
137 views

I need some help modifying a url going through an apache Reverse Proxy [closed]

I inherited this system from my retired coworker who inherited it from the person who set it up, so my knowledge of reverse proxies is pretty bad. Here is the situation... We are upgrading a system ...
Brian's user avatar
  • 11
1 vote
0 answers
206 views

Do I need to buy a domain for each sub domain I want to use with nginx?

I want to set up an nginx server on a vps to reverse proxy to some Minecraft servers that I am hosting and running locally on my home IP. I understand I will need to buy an A record for my domain(I ...
shirolight's user avatar
1 vote
1 answer
1k views

Apache2 Reverse Proxy only showing default page

I'm completely new to Apache. I have a Django backend that serves as an API and a SvelteKit frontend. Django runs on 0.0.0.0:8000 and SvelteKit on 0.0.0.0:3000. I'm trying to setup Apache so it uses ...
kekspekmek's user avatar
1 vote
0 answers
279 views

Can a reverse-proxied Facebook in an IFRAME access the other logged-in Facebook's in other windows and IFRAMEs?

We have set up a reverse proxy to Facebook. We wound up another subdomain on our server and pointed it at https://www.facebook.com using the following web.config. (Redacted slightly for security's ...
bugmagnet's user avatar
  • 111