Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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
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
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
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
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
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
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
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
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
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
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
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
0 answers
313 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/...
dev.ant's user avatar
  • 11
1 vote
0 answers
164 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 ...
Tal's user avatar
  • 113
1 vote
0 answers
100 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 ...
gargaroff's user avatar
  • 111
1 vote
0 answers
2k 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 ...
VC_work's user avatar
  • 111
1 vote
0 answers
142 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 ...
Vikas Chaudhary's user avatar
0 votes
1 answer
1k views

Is it possible to detect that site is using reverse proxy?

If one will reverse proxy a site (copy) - how would one know its reverse proxied and not a real site? Is there a simple method to detect without content plagiarism tools etc?
Adolaz's user avatar
  • 1
0 votes
0 answers
24 views

Trouble Implementing a Reverse Proxy for my Web App

I am using AWS Lightsail and Apache to host a web app on a Static IP. I now want to move that web app to a custom domain that I own, such that when I enter that domain I am taken to my web app, with ...
aayush's user avatar
  • 101