Questions tagged [reverse-proxy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
65 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, ...
user avatar
1 vote
1 answer
349 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; ...
user avatar
2 votes
2 answers
98 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 ...
user avatar
  • 195
3 votes
1 answer
186 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.)...
user avatar
  • 63
5 votes
1 answer
208 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 { ...
user avatar
1 vote
1 answer
116 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 ...
user avatar
2 votes
1 answer
134 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 ...
user avatar
0 votes
0 answers
22 views

Show contents of a basic authentication login-protected site on my site with a proxy

I administer website A that provides information for a number of users. Website B is an external website containing information that I would like to provide to the users of site A. Login credentials ...
user avatar
  • 1
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
1 vote
2 answers
83 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?
user avatar
  • 63
1 vote
0 answers
87 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 ...
user avatar
  • 111
2 votes
2 answers
42 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 ...
user avatar
  • 123
1 vote
0 answers
77 views

nginx location proxy pass forwarding to root URL rather than subdirectory

I am using Nginx as a proxy, example.com is my outward-facing web server with SSL enabled I want traffic coming under https://example.com/gibberish/ to be forwarded under http://localhost:8080/...
user avatar
  • 11
1 vote
0 answers
31 views

How to direct Apache2 HTTPS sub-directory request to HTTP app server on another port?

for complete Apache newbie, I have NextCloud and Monitorix running on my local server https://192.168.1.2/nextcloud http://192.168.1.2:8080/monitorix and I would like to cover it via SSL, something ...
user avatar
  • 111
1 vote
1 answer
67 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 ...
user avatar
2 votes
2 answers
4k 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 ...
user avatar
  • 21
1 vote
1 answer
269 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 ...
user avatar
  • 135
3 votes
1 answer
3k 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 ...
user avatar
  • 200
1 vote
0 answers
81 views

Why does everyone prefer SSL Offloading?

I started to setup a Reverse Proxy on Windows Server 2012 R2 with IIS and the AAR module installed (but purely as a Reverse Proxy without load balancing). It was relatively easy to setup a URL Rewrite ...
user avatar
  • 11
2 votes
0 answers
101 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 /...
user avatar
1 vote
0 answers
72 views

How are hyperlinks changed with nginx's proxy_pass?

When using nginx as a reverse proxy with proxy_pass, which also provides SSL, it appears that most upstream web servers don't even need to know that they are behind a reverse proxy, or that they are ...
user avatar
  • 113
1 vote
0 answers
415 views

How to turn off Apache proxy HTML correction

I'm using Apache proxy to access a web application on a VM. The proxy configuration works great, no issues. However, a side effect I see is that the Apache proxy "fixes" HTML that is being proxied. ...
user avatar
1 vote
0 answers
54 views

Nginx reverse proxy appends container port

We have a Kubernetes cluster where we expose an internal service with Nginx. Note that we are not using an ingress resource, but instead deploy an Nginx controller which is bound to an external IP ...
user avatar
  • 111
3 votes
2 answers
60 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 ...
user avatar
  • 33
1 vote
1 answer
254 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 ...
user avatar
4 votes
1 answer
8k 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. ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 365
2 votes
1 answer
52 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 ...
user avatar
6 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
944 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 ...
user avatar
  • 133
1 vote
0 answers
1k views

Append basic authentication header NGINX to existing authentication header of upstream application

Assume the following setup: The NGINX reverse proxy is asking for basic authentication (which is a good habit when you expose things on the internet). Basic authentication uses the Authorization ...
user avatar
  • 111
2 votes
1 answer
293 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 ...
user avatar
  • 1,402
1 vote
0 answers
134 views

Is it good to crawl metadata via proxy for several bot engines?

I am new to AngularJS and due to some technical issues or maybe I'm just not aware of the right way, I am facing SEO related issues. So at the moment I plant a proxy server running behind the main ...
user avatar
1 vote
1 answer
9k 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 : ...
user avatar
  • 11
1 vote
1 answer
2k 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 ...
user avatar
1 vote
0 answers
117 views

Reverse Proxy: serve file from local filesystem if it exists [closed]

Imagine the following situation: I have a distant server for a website. And I have local servers with a reverse proxy where large files (like videos) are uploaded at off-peak time. Now I want the ...
user avatar
1 vote
1 answer
801 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 ...
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 ...
user avatar
1 vote
1 answer
941 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-...
user avatar
2 votes
1 answer
1k 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/ ...
user avatar
1 vote
1 answer
164 views

How to host two web servers on same network under the same domain [closed]

I have multiple Raspberry Pi's on my network that are hosting different web apps that all run webservers (OwnCloud, VPN, Webpage). I was wondering what the best way to have them under a single domain ...
user avatar
  • 13
5 votes
1 answer
3k 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 ...
user avatar
  • 51
0 votes
1 answer
1k views

Multiple Web servers on a single IP [closed]

A few other questions on here cover how to do this on a single server but I'm having trouble figuring out how to build this with multiple Web servers behind a single external IP. I have a simple ...
user avatar
2 votes
2 answers
10k 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 ...
user avatar
  • 131
3 votes
0 answers
159 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 (...
user avatar
1 vote
0 answers
139 views

Rstudio Apache2 reverse proxy sends me back to index.php after sign-in

I'm trying to set up an Apache2 reverse proxy to access another machine at home. I've got the Apache 000-default.conf set up as follows: <VirtualHost *:80 *:443> ProxyPreserveHost On # Servers ...
user avatar
1 vote
2 answers
6k 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 ...
user avatar
  • 119
0 votes
0 answers
39 views

Using mod_rewrite to force users to use our caching proxy

During a recent audit we became aware of several users who have not set their DNS records to correctly point to our name servers. Since we don't control the domain names of our users directly, we're ...
user avatar
  • 161
2 votes
1 answer
64 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 ...
user avatar
  • 6,077
3 votes
1 answer
742 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-...
user avatar
  • 932