Questions tagged [nginx-reverse-proxy]

283 questions
0
votes
1 answer

How could I use single elastic IP for multiple instances (AWS)?

What would be best way to achieve such thing: I have limited amount of elastic ips, and I have bunch on EC2 instances to launch small apps. I have an idea to have load-balancer or an EC2 instance that could route traffic to any other EC2…
0
votes
0 answers

Configure 2 Nginx reverseproxy with SSL

I'm tryng do do something with 2 nginx. I have a wordpress : mywebsite.com I need this infra : I have some difficulties to configure ssl with let'sencrypt. Nginx1 : 198.198.198.2 Nginx2 : 241.236.210.2 If I have servername : mywebsite.com in…
0
votes
0 answers

Redirect to login page after logined to minio console

I am going to run the service with Minio and I run it with docker-compose: version: '3.7' services: service_minio: image: quay.io/minio/minio:latest container_name: service_minio restart: always ports: …
soroush
  • 415
  • 1
  • 5
  • 6
0
votes
1 answer

NGINX Block traffic to my home IP (default new website page or first subdomain), requiring a valid domain name hosted at home

My goal: disable/drop traffic to just home IP without domain in request. Issue: Currently, if I (or anyone else) accesses my home IP via HTTP or HTTPS, it will show the first subdomain that is configured as a virtual host. I have tried multiple…
0
votes
0 answers

Why have a error 502 Bad Gateway Nginx, I have installed Engintron on my WHM

This is the configuration of default.conf: server { #listen 80 default_server; listen [::]:80 default_server ipv6only=off; server_name localhost; deny all; # DO NOT REMOVE OR CHANGE THIS LINE - Used when Engintron is disabled to block Nginx from…
0
votes
0 answers

Nginx reverse proxy behind squid proxy

I have to create a reverse proxy for my internal services to call third party service. some of our third party service providers has a squid or any http proxy with authentication to reach out their services. For simulation I create a reversproxy…
0
votes
1 answer

Openstack Glance Configutarion on HTTPS RESTAPI + Nginx Reverse Proxy

I am trying to install openstack Using ssl certs i am able to run keystone (on port 5000) but when i try to connect to glance api (port 9292) it fails it is only accessible with http not https i feel like keystone works because it has seperate…
0
votes
0 answers

A frontend app redirection to backend using nginx does not work

I have a React app with an nginx conf as below. This app communicates with a backend (represented here with the alias app-backend in the conf file). upstream app-backend { server app-backend.domain.com; } server { listen 3000; root…
devio
  • 101
  • 2
0
votes
0 answers

Config NGINX as proxy for local and remote websites

I got three web servers: app1 - on local server with nginx. this app listens 127.0.0.1:8080 app2 - on 10.7.0.2:80 app3 - on 10.7.0.10:80 I wan to config NGINX to proxy this three apps on same domain, but different paths: app1 -…
Nil
  • 41
  • 1
  • 5
0
votes
1 answer

nginx to not modify query only redirect for reverse proxy

I have to put a nginx reverse proxy in front of a web service for TLS termination which does 302 redirection only with query part of the URI: GET /path/to/document?query=1 Host: 127.0.0.1 Returns 302 with Location: ?query=2 nginx always builds…
meilon
  • 141
  • 9
0
votes
0 answers

Limit number of connection for a special port on Linux server

I have an Nginx server in Ubuntu 20, And has a multi-port listener on it for the proxy pass. I want to limit the number of connections per port. IP doesn't matter (I mean dont limit by IP). My IPTable has been disabled and I prefer to dont use it. I…
Mohsen
  • 103
  • 5
0
votes
1 answer

nginx to reverse proxy 2 local lambdas in docker containers

I have 2 lambda functions wrapped in docker containers and am using docker compose to run them together. One runs on port 9000 the other on port 9001. I am trying to use nginx to allow them to both be reachable on the same port locally. I am able…
0
votes
0 answers

Can you have multi proxy as location in nginx conf?

I have several web apps I like to proxy with a single URL. This is my nginx.conf server { listen 443 ssl; server_name webapps.mysite.com 192.168.5.28; access_log /var/log/nginx/webapps_access.log; error_log …
0
votes
1 answer

NGINX CentOS8 Server Block Configuration Issue

I'm facing below issue when i need to activate server block from nginx.conf. Can you check it with me please? sudo systemctl status nginx.service ● nginx.service - nginx - high performance web server Loaded: loaded…
Zek
  • 1
0
votes
0 answers

Using consistent hashing and split_clients together

We are currently using consistent hashing with Nginx to balance between several downstream servers. We would now like to add the split_clients module to do an experiment, such that: 1% of requests get sent to server X The other 99% of requests gets…