Questions tagged [nginx-reverse-proxy]

283 questions
0
votes
0 answers

Safari can't open my http link to my website

So I have a basic Nginx configuration that redirects any request to my site to www and HTTPS: server { listen 80; listen [::]:80; server_name www.goodjobs.ro goodjobs.ro; return 301 https://www.goodjobs.ro$request_uri; } server { …
0
votes
1 answer

After establishing WebSocket tunnel, does NGINX continue to 'be in the loop'?

I have a WebSocket server-side application fronted by an Nginx reverse proxy and all is working great. The WS app runs in a container as does Nginx, and both then work together as a service. Now I'm considering the scale-up rules for the WS app,…
mmuurr
  • 135
  • 1
  • 5
0
votes
1 answer

Reverse proxy serving html linked content as 404

I've set up this reverse proxy to route a simple web page served on a port (say 61185). Instead of querying example.net:61185, i'd like to have the same behavior with example.net/listing Here's the config: server { listen 80; server_name…
0
votes
0 answers

Connection refused inside the same machine

I've a JS app that is running on http://localhost:1337. Behind there's a Nginx reverse proxy with the following config: /etc/nginx/conf.d/upstream.conf upstream test { server 127.0.0.1:1337; } /etc/nginx/sites-enabled/test.conf server { #…
Jumpa
  • 111
  • 1
  • 6
0
votes
0 answers

Nginx proxy on docker exited with code 0. How can I repair it?

I created a nginx and letenscrypt container with the guide: Using Docker to Set up Nginx Reverse Proxy With Auto SSL Generation. My docker-compose.yml looks like: version: "3.7" services: reverse-proxy: image:…
0
votes
0 answers

Nginx proxy reverse multiple ports by url

I need to config nginx reverse proxy to listen 443 port and redirect to localhost and port from url address. Https://example.com/test/1234 Redirect to 127.0.0.1:1234 And it means client choose port on local host by writing in url.
0
votes
0 answers

How to redirect any requests for guacamole home page using nginx?

I want to redirect only https://guacamole.example.com/#/ (aka guacamole homepage) to https://denied.example.com. But, I don't want https://guacamole.example.com/#/sessiondetails/logindetails to be redirected. But when i use in nginx this: location =…
Em Fa
  • 1
  • 1
0
votes
1 answer

Reverse Proxy - Using Subdirectory

I cant use cname, therefore i would like to split my services into subdirectorys. location /ha/ { proxy_pass http://localhost:58123/; #local IP of my HA server proxy_set_header Host $host; …
0
votes
1 answer

Docker based with NginX for one appication and multiple domains

I use docker with nginx image to run my site. I have following configuration: docker-compose.yml version: '7.1' services: # # Conflicts with any local HTTP server. # If you have a local Nginx, you must stop it. # nginx: image:…
Alex
  • 1
  • 1
0
votes
0 answers

Nginx - transparently redirect traffic into another server block

I have a NGINX configuration with two virtual hosts (server {} blocks): one serving a human-readable site on the primary domain, and the other acting as a reverse-proxy for a specialized service on a subdomain. http { <...> server { …
intelfx
  • 134
  • 7
0
votes
0 answers

Unable to connect to the database

I am using docker-compose to set up umami.But it seems that umami is not up. I have checked log file umami. Here it is what looks like. yarn run v1.22.19 $ npm-run-all check-db update-tracker start-server $ node scripts/check-db.js ✓ DATABASE_URL is…
0
votes
0 answers

Nginx proxy_pass incorrectly using SSL

I'm using X-Sendfile=X-Accel-Redirect with an internal location so one application (app1) can handle authentication/authorization for another application (app2). Apache handles the SSL and proxies to Nginx via HTTP. Nginx proxies to app1 via HTTP.…
graywh
  • 133
  • 6
0
votes
1 answer

no live upstreams while connecting to upstream

I am trying to set up reverse proxy using nginx. The thing is i want to redirect to umami login page when go to localhost. But i am getting 502 bad gateway.I am not sure i have correctly configured the nginx. Here is my docker-compose.yml looks…
sudojarvis
  • 1
  • 1
  • 2
0
votes
1 answer

Nginx reverse proxy base URI to change port

Hi i want reverse proxy my Nginx base port used for example http://example.com:443/ips/8443 -> http://example.com:8443/ips/8443 http://example.com:443/ips/23950 -> http://example.com:23950/ips/23950 If it supports this, it would be much better, but…
Mohsen
  • 103
  • 5
0
votes
0 answers

Nginx and Cloudflare Argo Tunnel - 502 Bad gateway

I am using a Cloudflare Tunnel, along with a Nginx docker container, under the same tunnel network. I followed this guide to set up Nginx with Cloudflare. The goal is for me to be able to reach ports externally with HTTPS and without exposing the…
Globe
  • 11
  • 1
  • 3