Linked Questions

0 votes
0 answers
19 views

How to enable SSL for app running inside Portainer like port 3000? [duplicate]

I have portainer running on Ubuntu on port 9443 SSL and I am running docker images inside portainer and one of them uses port 3000. But wondering how to make it so it can run on SSL on port 3000. My ...
user avatar
27 votes
2 answers
45k views

Disabling URL decoding in nginx proxy

When I browse to this URL: http://localhost:8080/foo/%5B-%5D server (nc -l 8080) receives it as-is: GET /foo/%5B-%5D HTTP/1.1 However when I proxy this application via nginx (1.1.19): location /foo ...
user avatar
7 votes
3 answers
13k views

Nginx reverse cache 301 redirects (permanent)

Is it possible to have Nginx cache all 301 redirect requests for proxy_pass? For example: Request #1: Client A requests /some/path -> sent to proxy_pass -> results in 301 redirect to /some/other/...
user avatar
5 votes
1 answer
20k views

Hide path to backend with Nginx

I have OpenNMS running on host B-beta with the following URL: http://b-beta:8980/opennms I would like to use NginX to hide this path accessible from host a-alpha like this: https://a-alpha/omber/...
user avatar
  • 462
4 votes
2 answers
16k views

NGINX: can I use a mapping of upstream servers with proxy_pass directive?

I have an NGINX server that acts as reverse proxy to a bunch of backend IIS servers. I would like to pass each incoming HTTPS request to a certain backend (upstream) server, depending on the URI ...
user avatar
2 votes
2 answers
3k views

Running sinatra program [Kibana] behind nginx reverse proxy in web directory

I'm trying to get Kibana to run behind nginx within a specific web directory. Or, put another way, I'm trying to have nginx reverse proxy http://example.com/kibana to http://localhost:5601/, which is ...
user avatar
  • 7,770
3 votes
1 answer
2k views

Unexpected 301 redirects from Nginx when behind Nginx reverse proxy

Similar questions have been asked before here and here but none of them matched or solved the issue I am having. After a few hours of desperate problem solving I found a solution that was so ...
user avatar
3 votes
1 answer
1k views

Nginx reverse proxy + URL rewrite + websockets

I saw this Question, but it doesn't seem to work for me. Current (working) situation is: server { listen 443 ssl; server_name updates.example.com; ssl_certificate fullchain.pem; ...
user avatar
  • 236
0 votes
2 answers
1k views

HTTPS + Nginx Reverse Proxy + URL rewrite

I am trying to direct all HTTPS traffic to Nginx server where it will handle all the requests as HTTP requests to all internal servers. So far, I am able to get the template below to work for most of ...
user avatar
2 votes
1 answer
921 views

Get Wordpress+Apache to work behind nginx reverse-proxy

I'm trying to setup the following: docker container with nginx on localhost as a reverse-proxy for Wordpress, listening on localhost:80. It is also used as a reverse-proxy for other microservices. ...
user avatar
  • 121
0 votes
1 answer
1k views

nginx reverse proxy for Apache and a Node app

I have a CentOS VPS, running Apache. Previously I just used it for hosting a bunch of PHP and static HTML websites, under various domains, and everything worked fine. Then I developed a simple Node....
user avatar
  • 183
0 votes
0 answers
401 views

multiple NIFI instances running behind one NGINX reverse proxy

I have 2 NIFI instance on differents servers with 1 NGINX reverse proxy in front. It should go like this: NGINX Reverse proxy > proxy.lan/nifi1 goes to the NIFI 1 instance on nifi1.lan NGINX ...
user avatar
1 vote
0 answers
97 views

nginx reverse proxy and rewrite rule

This question is actually quite close to my requirement where, the Nginx configuration rewrites the URL for $1. Reproduced here: location /foo { rewrite /foo/(.*) /$1 break; proxy_pass ...
user avatar
0 votes
1 answer
49 views

Simple reverse proxy with nginx and docker gives 404

I have a very simple setup. Three containers in docker that I want to communicate between, nothing else. Attacker (kali with nginx), reverse-proxy (alpine with nginx), and victim (alpine). I'd like to,...
user avatar
  • 1
0 votes
0 answers
48 views

How do i redirect proxy nginx?

I am running 2 geoserver and nginx container. I want to call https://xxx.xxx.com/geoserver the other one https://xxx.xxx.com/geoserver2. The geoserver containers are running behind proxy container. ...
user avatar