Questions tagged [nginx-reverse-proxy]
283 questions
0
votes
0 answers
proxy pass/redirect not working on Nginx reverse proxy
I am trying to achieve the below with nginx -
I have 2 docker containers running on a server once container runs nginx on port 80 & takes requests from AWS application load balancer. Then based on the path in the URL, it is supposed to redirect to…

usert4jju7
- 169
- 2
- 3
- 9
0
votes
1 answer
Grafana stuck on loading screen
I've installed Grafana behind Nginx running as a reverse proxy for it and then behind Cloudflare. Unfortunately when I am trying to access it is stuck on jumping Grafana logo with "loading" inscription underneath it.
Grafana is expected to be…

DisplayName
- 145
- 4
0
votes
1 answer
Using socat forwarder over HTTP tunnel (CONNECT) over SSL/TLS
For context, i am using nginx's reverse proxy ngx_http_proxy_module to cache content from an upstream https server. For a specific project, i need nginx to pass through a corporate HTTP proxy (using the HTTP CONNECT method), and unfortunately this…

Florent Thiery
- 129
- 4
0
votes
0 answers
Nginx reverse proxy: no certificate on proxy, use the backend one
I have a small machine that serves as an entry point to my network, let's call it A. I also have two servers on my private network which are not accessible from outside, let's call them B1 and B2.
We will assume that B1 has the private address…

Aisteru Firë
- 101
- 2
0
votes
0 answers
Nginx Reverse Proxy custom location not serving static files
I'm trying to serve 2 different websites under the same subdomain depending on the location.
Using the GUI from Nginx Proxy Manager Docker container I've managed to set up the initial domain https://foo.bar.baz that redirects to another Docker…

Shadark
- 101
- 1
0
votes
0 answers
Intercept cookie with NGINX from upstream response and create a new cookie
In order to synchronize two web applications, I need to intercept KEYCLOAK_SESSION cookie with NGINX from upstream response - sso.example.com and if such cookie is present, create another cookie SID (copy of KEYCLOAK_SESSION ) but for .example.com…

alexanoid
- 101
- 2
0
votes
1 answer
Nginx reverse proxy, two applications with different domain names on the same server?
I have two applications on the server, which have different domain names but need to be on the same IP and port. How do I do this with Nginx?
With Apache, I can do this with VirtualHost blocks, but as far as I can tell Nginx server blocks require…

Wige
- 101
- 3
0
votes
0 answers
How to solve duplicate MIME error when using reverse proxy in Nginx?
I am trying to route from blog.example.com to example.com/blog using a reverse proxy.
The website is routing fine, but I am having an issue with the images not displaying and I am getting the following error message.
[warn] duplicate MIME type…

Seomari
- 21
- 2
0
votes
0 answers
Nginx configuration for oauth2-proxy and code-server
I am trying to set up oauth2-server to set up GitHub authentication before reaching my code-server. I am using Nginx and Cert bot to deploy the server.
This is what I have configured in Nginx to connect to the oauth2-proxy
location / {
proxy_pass…

foureal
- 1
- 2
0
votes
0 answers
Getting too many redirects error when attempting to setup reverse proxy for Odoo
I am working on setting up a reverse proxy for my Odoo service but I am getting an error of "too many redirects". I am using Cloudflare and their origin certificates that would be placed on the nginx reverse proxy. Below is my latest NGiNX config…

RamenCoffee
- 1
- 1
0
votes
0 answers
CORS issue with Nginx proxy server?
I am trying to call a API that is on a docker container on port 80.
I have set up a Nginx proxy server.
if i access via postman it works, so i assume the proxy server is set up correctly.
When I try to access via angular/$http I get the…

randy
- 151
- 3
0
votes
1 answer
Reverse proxy returning 307 (redirect) when it shouldn't be
I'm trying to setup a reverse proxy to an application that I'm building. The application is split into two docker images. First is a web UI, which can be reached via https://example.com/
The second docker image, has base addresses that I'm…

Colin Dawson
- 103
- 3
0
votes
1 answer
NGINX reverse proxy responds to IP but not domain name
I have an nginx reverse proxy setup to point to my nodejs app. When I enter the server IP in the search bar, the website pulls up as expected. When I enter the domain name I get an ERR_CONNECTION_REFUSED error.
I have the following sites-available…

xv47
- 101
0
votes
1 answer
reverse proxy nginx to proxied nginx instance. with SSL and static, how?
I have nginx & webserver that are working together on the same server and it's working flawlessly.
Now I need to move the webserver to another physical server (B or C)
it's was seem easy at first glance, but keeping SSL & static seem to make thing…

SpongeB0B
- 11
- 2
0
votes
1 answer
website extremely slow after enabling ssl with nginx on react website
This is my nginx sites available folder on a digital ocean Ubuntu v22 VPS:
server{ server_name 139.59.62.131 animeanyway.me;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header…