Questions tagged [nginx-reverse-proxy]

When a reverse proxy proxies a request, it sends the request to a specified proxied server (http or other), fetches the response, and sends it back to the client, as if it came from the reverse proxy itself.

More information: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

2738 questions
0
votes
0 answers

How to get http header value on first redirection without making additional calls?

I have a javascript app which is protected by Single sign on(SSO) using nginx as reverse proxy.Once the user tries to hit the url of my app ,it redirects to SSO app for authentication.Subsequently the user provides his credentials and the SSO…
Chirayu Sharma
  • 75
  • 1
  • 11
0
votes
0 answers

How to add edit the Elastic Beanstalk ngnix configuration for Ktor Application?

I ma getting 403 request entity too large when I try to upload a file of more than 1 mb on elastic beanstalk. I tried to add my configuration in the .platform/nginx/conf.d/proxy.conf file. here is the file content client_max_body_size 200M; I…
0
votes
0 answers

NGINX - One to many server same port

I have this setup of NGINX as a reverse proxy. server { listen 443 ssl; server_name site1.example.com; ssl_certificate /home/efwm/efwmsw/certificate/example.com.cer; ssl_certificate_key /certificate/example.com.key; location /…
0
votes
0 answers

How can I make a reverse proxy with nginx in macOS? I want to access locally an Angular app by using a custom hostname

I want to access my app by enter a custom domain name in the browser, not by typing localhost:4200. I installed nginx with homebrew. I added the following configuration in nginx.conf file: My application is running on port 4200, I also added…
Joe Spark
  • 1
  • 1
0
votes
1 answer

Swashbuckle Swagger Try It Out behind NGINX reverse proxy

I'm trying to make the swaggerUI Try it out function to work behind NGINX reverse proxy. I'm using ASP.net Core with the package Swashbuckle Swagger Since I have multiple API I added a subdomain to my nginx config. When I use try it out it sends the…
0
votes
2 answers

React and nginx: refused to connect to localhost

I have my React (frontend) and Django REST (backend) running on a remote Ubuntu server with nginx. I also have a simple reverse proxy defined in conf.d/bookmarks.conf to manage all of that: server { listen 80; listen [::]:80; location…
0
votes
1 answer

Nginx, Python, Docker and Node in same server creating issue

I have UBUNTU 20.04 instance. i have installed NGINX and Docker and NODE JS. there is am trying to run 6 docker container. within that 6 docker container i have 2 node application and 4 python application. node js container are working fine. but…
0
votes
0 answers

How to use GoDaddy SSL Certificates for Docker TLS

I have generated SSL certificates from GoDaddy.com 2 It generally generates two files. one is cert (460d14e8fa8.crt) and the other is intermediate file (gd_bundle-g2-g1.crt). I input the private key to generate these files. To use this for nginx,…
0
votes
1 answer

How to configure nginx reverse proxy for apache with servername on different server

I have server1 with public IP and server2 with local IP, I want to access my app hosted by apache on the server2 from server1 public IP using nginx reverse proxy. Here's my config. Apache2 config ServerName ci_app.local …
A'S
  • 43
  • 6
0
votes
1 answer

Apollo studio is not working after running Apollo server with google cloud load balancing

I am unable to connect to my Apollo (graphql) server through Apollo Studio (https://studio.apollographql.com/sandbox/explorer) OR Apollo Client library on frontend. But the server is working fine when a request is sent through Postman,…
0
votes
0 answers

How to use the nginx map directive to redirect multiple domain name with variables

I have multiple domains as below: www.domain1.com www.domain2.fr www.domain3.com www.domain4.fr www.domain5.biz I wanted to redirect specific requests coming to the any domain let's say traffic coming to www.domain1.com with specific parameter…
Om-
  • 1
  • 1
0
votes
1 answer

Nginx not serving on the domain

I have installed nginx on a VM (OS: Ubuntu 18). I am following this tutorial but the issue is that I am not able to see the content getting served on your_domain.com. Here's my nginx.conf: user www-data; worker_processes auto; pid…
0
votes
0 answers

how to add multiple location blocks for proxy pass in nginx for specific region/URL

I am trying to setup nginx for reverse proxy. But I have to do it for multiple servers which are basically for different regions. I have three regions APAC, Australia, Japan location /au/myEndPoint1 { proxy_pass…
0
votes
0 answers

What could be the misconfiguration in my api_gateway.conf file that is leading me to the error SSL_do_handshake() failed

I am getting this message in nginx (1.18) error.log file *39 SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream I saw a lot of answers here, but none of them solve my…
0
votes
1 answer

How to access a variable value set inside Lua block in proxy pass

I am new to nginx. I have a variable set $myuser and updating the value ngx.var.myuser inside rewrite_by_lua. I want to pass this as a header in proxy_pass. I am using proxy_add_header to add $myuser but I am not getting the updated value. code…