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.
2,500
questions
-1
votes
0
answers
8
views
Same server multiple subdomains on port 80
I just installed nginx poxy menager and nginx. I have a webserver on port 8021 and i want to have it on panel.mydomain.com:80 with https.
I'm trying to forward a webserver on port 8021 to a subdomain ...
1
vote
0
answers
23
views
Nginx does not want to give me the .tsx file as an application/x-javascript, instead he gives application/octet-stream
I have a dockerized React application that is built via Vite. I wish I could develop it on my own separate development domain. But apparently Nginx does not allow me to do this. And I'm getting the ...
0
votes
0
answers
27
views
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 ...
0
votes
0
answers
13
views
Custom per-VIRTUAL_HOST location config without effect: 502 Bad Gateway
I try to setup a dockerized nginx reverse proxy server, which should supply a dockerized Gunicorn webserver with. The Gunicorn webserver shall be accessible through example.com/django so I added ...
0
votes
0
answers
6
views
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;
...
0
votes
0
answers
11
views
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 ...
0
votes
0
answers
13
views
+50
Swashbuckle 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 ...
0
votes
1
answer
18
views
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 {
...
0
votes
1
answer
20
views
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 ...
0
votes
1
answer
25
views
Why doesn't Nginx reverse proxy on WSL2 see Rails app in Docker Container using hostname?
I've got several Rails websites running in Docker dev containers. Docker is running in WSL (Ubuntu 20.04) on Windows 11. Nginx is running in Ubuntu as a reverse proxy, IIS is turned off in Windows. ...
0
votes
0
answers
17
views
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 ...
0
votes
1
answer
21
views
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
<...
0
votes
1
answer
30
views
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 ...
0
votes
0
answers
11
views
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 ...
0
votes
1
answer
19
views
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-...
0
votes
0
answers
18
views
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 {
...
0
votes
0
answers
8
views
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 ...
0
votes
1
answer
43
views
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 ...
0
votes
1
answer
22
views
Question about forwarding ssl payload to upstream tcp server
These days, I am working on forwarding ssl payload to upstream tcp server using nginx, and the final nginx configure comes after a lot of experiment:
stream {
map $ssl_server_name $stream_map {
...
0
votes
0
answers
25
views
nginx reverse proxy keeps showing the default website
I created an HTTP API with ec2 instance integration. Two python applications are running on the ec2 instance on ports 8002 and 5005. There is an nginx reverse proxy running on ec2 instance that should ...
0
votes
1
answer
42
views
How do I deploy a Next.js app to an addon domain on cPanel, which listens to port 3000 without affecting my other domains?
I have a website running on my main domain added in cPanel listening to the main "80" port and can be opened without adding the port to the URL. for example: "http://mywebsite.com"....
0
votes
0
answers
17
views
nginx reverse proxy config for Jenkins, and some 504 and slow loading problems
I am battling some issues with performance of the web GUI, and having trouble tracking it down.
This is a new server, and the largest of 7, the other 6 aren't getting these issues and it's probably ...
0
votes
0
answers
28
views
Plumber POST API under an Nginx reverse proxy returns a 404 error
There seems to be quite a bit floating around the internet about problems such as this, but nothing I have found and tried quite pertains to my particular issue.
I had a functional Plumber api working ...
0
votes
0
answers
11
views
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://...
0
votes
0
answers
26
views
Nginx with Nuxt not serving the domain
I am new to Nginx and have been trying to set up server blocks in Nginx, locally on macOS. The purpose is to render Nuxt app when a user requests a certain domain. However, even after spending hours ...
0
votes
0
answers
37
views
Reverse proxy and rewrite URL in NGINX
I want to redirect requests to our internal repository servers without edit repository addresses in package manager's configuration. Here is the scenario:
Add internal IP (NGINX Server) address to ...
-1
votes
1
answer
27
views
LDAP as a Certificate authority
I am working on a system that is a closed network, that has very limited access to the internet. We set up an ngnix docker (config at the bottom) to handle SSL. The system has its own Certificate ...
1
vote
0
answers
30
views
Reverse-Proxy Google site
We are trying to get a google site to run behind a proxy.
Spoke to a google support specialist and they said its possible, did not give any documentation and said to ask here.
A google website behind ...
0
votes
0
answers
24
views
Failure when using wss:// connection with laravel-websocket package behind nginx proxy
I am using dockerized environment for laravel project.
Everything is glued by nginx proxy.
There is additional docker container to run laravel-websockets server.
It works when I try to connect to it ...
-1
votes
0
answers
63
views
Minecraft Server Stream in NGINX Proxy Manager?
i am trying to configure a stream in my nginx proxy manager so that my friends can play on the server. (It's a Bedrock server) I configured to forward port 19132 to a local ip,
but it doesn't seem to ...
0
votes
0
answers
13
views
Portal for ArcGIS : Can't login due to url wrong port after nginx reverse proxy
I'm building an NginX reverse proxy (Ubuntu Server 22.04.1 - NginX 1.22.1) to open an internal Portal for ArcGIS to extranet.
The reverse proxy listen to 8054 and redirects to 2 internal servers using ...
-2
votes
1
answer
58
views
Can I use NGINX as a way to reverse-proxy requests to my Go web server?
Can I use NGINX as a way to reverse-proxy requests to my Go web server? I wanted to study this but everything I came across is either too complex for me or not what I searched (For information I ...
0
votes
0
answers
14
views
Proxy pass to the upstream is returning incorrect response code [404]
Proxy pass to the upstream is returning incorrect response code [404] even though the request is a success [200] from the backend.
upstream backend {
server host;
}
server {
listen 80 ...
0
votes
0
answers
48
views
Can't get Nginx reverse proxy on host to connect to docker container (502 error)
I am trying to run this docker container cocalc (https://github.com/sagemathinc/cocalc-docker) on my machine at home. I run multiple other web services that are behind my nginx reverse proxy, and they ...
1
vote
0
answers
11
views
nginx reverse proxy: ERR_TOO_MANY_REDIRECTS but second site is working
i'm relatively new to linux. My server is running Ubuntu 22.04 and i got a little problem here in my nginx configuration. I set up a reverse proxy (nginx) in /etc/nginx/sites-enabled/reverse-proxy....
0
votes
0
answers
11
views
flask login page redirection not working with gunicorn and nginx reverse proxy server
I have the setup "NGINX as reverse proxy" + flask + gunicorn. When I run the gunicorn on command line everything works fine and I can login.
# gunicorn --bind xx.xx.xx.xx:5000 run:app
But ...
0
votes
1
answer
31
views
Reverse proxy for react contaiener
I have 2 running docker containers. N1 with react app, N2 with nginx for reverse proxy.
Docker command
docker run -d --name app3 -p 3000:3000 testApp
started react container, and now it is ...
0
votes
0
answers
37
views
NGINX add_header, X-Forwarded-FOR, X-Real-IP isn't working with my config
So I have spent quit a lot of time setting up and getting into NGINX because I wanted to encrypt the traffic to my Subdomain/ API which is running in a Docker with SSL.
To get the IP which is really ...
0
votes
0
answers
26
views
Nginx proxy_pass: put response body into cookie
totally new to nginx, I am trying to implement some oauth2 web flow:
client ask for login,
the nginx I am using as reverse proxy redirects to authentication provider,
nginx proxyies the callback to ...
-1
votes
0
answers
23
views
Nginx tcp stream proxy module - proxy_timeout counter not resetting after interacting with application
I have an nginx proxy server that is load balancing (LB) an application over tcp 1200. However my application is experiencing a "network/server side error" disconnect around the 10 minute ...
0
votes
0
answers
11
views
nginx config shows 404 error page / configuracion de nginx muestra pagina de error 404
Good day i'm trying to make a test site to understand nginx, i have this config files. when i make a query to the sites shows me the 404 nginx error page, what im doing wrong... thanks for ur answers
/...
0
votes
0
answers
14
views
Nginx microservices configuration
I have many frontend microservices and I wanted to have a single entry in nginx that would solve them all.
Example of microservices I have:
budget-client
stock-client
To differentiate, each service ...
1
vote
0
answers
31
views
I get 500 internal server error when I try to reach the website. I run nginx postgres and keycloak in docker container
500 internal server error
when checked the nginx container logs this is the error that was showing.
rewrite or internal redirection cycle while internally redirecting to "/index.html", ...
0
votes
2
answers
70
views
How to set nginx proxy path to use static contents of a specific s3 bucket folder?
I'm working on an nginx reverse proxy container image to proxy frontend files from s3, and Im trying to access these files from a specific folder location, instead of just the base path of the s3 ...
-1
votes
1
answer
27
views
plesk & nginx: different domains and subdomains should point to the same file location
i have a webapplication (on a selfhosted plesk 18.0.48 Obsidian) that should be available by 3 or even more domains.
All Domains should point to the same directory.
The domain names should be ...
0
votes
1
answer
49
views
Spring Boot 3.0.0 not working on Reverse Proxy
I have a Spring Boot application running behind a NGinx reverse proxy and after I've upgraded Spring Boot version from 2.7.0 to 3.0.0 I'm getting a 404 error.
NGinx Reverse Proxy:
location /...
-2
votes
0
answers
15
views
nginx as reverse proxy on https on specific port
a Linux server has a dockerized Flask app running on https://localhost:8062/my_url/ (it's confirmed this works given the output of the curl command on it). This app uses a .cert and a .key files.
I ...
0
votes
0
answers
9
views
Nginx - service crashes if upstream backup servers' hostname cannot be resolved
Setup:
Docker compose
Nginx v1.15
Config file:
http {
upstream backend {
server my_production_server1:80 fail_timeout=5s max_fails=3;
server my_production_server2:80 backup;
}
...
}
...
0
votes
1
answer
46
views
NGINX port forwarding with subdomain
I want to create a Minecraft server and I already have a server that runs multiple Minecraft servers.
I also have an OVH domain and I've created a subdomain with a wildcard.
I want to create ...
0
votes
0
answers
17
views
how to expose multiple subdomains without port by Nginx reverse proxy in the same server?
I want to expose multiple subdomains without port numbers in the same server.
I currently have multiple reverse proxies on sites-enabled on nginx that I would like to expose all http traffic to https....