Questions tagged [nginx-reverse-proxy]
283 questions
0
votes
1 answer
How to redirect http to https in NGINX in existing nginx.conf
I'm on RHEL7.9 Linux. I have a server (IP a.b.c.d) serving a webApplicationA and using https in nginx and it's working accessible at https://a.b.c.d.
On that same machine (same IP, a.b.c.d) I have an AppImage running which is a DIFFERENT web…

thornbe
- 3
- 2
0
votes
0 answers
Nginx proxy_pass with redirects on non-root path
I am trying to run code server in a docker container behind nginx. I would like the entire code server to run at the /code path. I tried following the configuration listed on here in the answer provided by demsys since it seems to be my exact…
0
votes
1 answer
Nginx reverse proxy does not respond to internet request
I'm currently in the process of switching our reverse proxy from (a hacky) IIS + ARR to Nginx reverse proxy via Nginx Proxy Manager container on Ubuntu Server 22.04.
I've am able to access the services while inside the LAN both my hostname and IP…

Liaoo
- 101
- 1
0
votes
1 answer
How to reverse proxy assets from another unsecured website?
I have this situation. Current VM where this nginx config is stored has a valid ssl certificate. Inside this VM is the main application app1 served in port 80. On another port 1234 another service is served app2 in a docker container. I managed to…

llesh
- 1
0
votes
0 answers
Matrix conduit server can't fetch signing key
I wanted to setup a matrix server and chose conduit with nginx as reverse proxy on a raspberry pi. After some trying I was able to connect to it and interact with it, but I can't join rooms on other servers. If I try to do so nearly every time it…

zvavybir
- 101
- 2
0
votes
0 answers
How I combine multiple react apps in one app
I have two apps build in react using vite and I want to combine those two apps in one on the same port:
For example in nginx I want something like this:
http://localhost -> redirect to http://localhost:3000;
http://localhost/path-to-app2 ->…

xflorin94
- 1
- 1
0
votes
0 answers
Reverse Proxy Nginx: depending on path in URL choose proxy_pass
This should be easy to achievable, but I'm totally stuck.
request: example.com => server1:8080
request: example.com/everythingelse => server1:8080/everythingelse
request: example.com/api => server2:8081/api
server {
listen 80;
…

karl5234
- 1
0
votes
0 answers
reverse proxy nginx not working with dynamic parameter
I use nginx reverse-proxy
When I use this code it works
location / {
proxy_pass https://test.serverA.com;
proxy_redirect off;
}
But when I use this code it doesn't work
set $sub test;
location / {
proxy_pass…

Joe
- 11
- 2
0
votes
0 answers
Only allow local addresses using nginx reverse proxy when accessed from external web URL address
I have set up a vaultwarden server locally, nginx and have linked it to the website xxx.ddnsfree.com. I can access it fine using xxx.ddnsfree.com.
I am trying to make it so that I can only access the server at xxx.ddnsfree.com from a local ip…

anarchy
- 101
- 3
0
votes
0 answers
NGINX reverse proxy passing traffic to another domain
I have 2 servers A and B
I've configured my server A with NGINX and a website. I want to reverse proxy all the traffic that is coming to my server A with the /path1/ to my server B's domain with /ptah2/.
my server A NGINX config:
server {
…

vahidx4r4x
- 1
- 1
0
votes
1 answer
My images are getting the upstream name as path
I have an ASP.NET application running in a docker container that's being server by an NGINX reverse-proxy also in a docker container.
I'm not experienced at all with NGINX or hosting, so please apologize my ignorance. It took me a while to make it…

mmgyyc
- 1
- 1
0
votes
0 answers
Which web server can return this page with empty html tags ? Cloudflare / Nginx / Apache
I am using a monitoring tool that constantly checks server status, and sometimes it gets this empty tags reply. The monitoring service doesn't give me more info, like status code.
I remember I seen that page…

adrianTNT
- 1,077
- 6
- 22
- 43
0
votes
1 answer
Nginx: Why is $host variable not available in stream directive in nginx.conf?
in my nginx.conf I would like to pass the request depending on the requested url to a specific server infrastructure.
Everything works great apart from the $host variable.
I get error "nginx: [emerg] unknown "host" variable"
From my understanding is…

user3740082
- 3
- 1
0
votes
1 answer
Browsers can't make connection to my server without port 80 open
I have a server where NGINX is running as a reverse proxy. My configuration works fine when I leave ports 80 and 443 open on my router. When I only keep 443 on it, I have "Connection timed out" errors. It happens on Chrome, Firefox and Safari so I…

Mordecai
- 3
- 1
0
votes
0 answers
NGINX proxy stops working after upstream was unreachable
we recently started transitioning from domain binding to using nginx as a proxy for our web apps.
Requests going to the wildcard subdomain *.domain.tld are being loadbalanced by our firewall to two linux machines (Debian 11) proxy-01 and proxy-02…

phew
- 263
- 1
- 2
- 6