2,103
questions
0
votes
0
answers
49
views
NGINX reverse proxy returns HTTP 400 with a invalid header line for my flutter app.Works fine in Postman
I've setup Nginx with reverse proxy to my django backend api. The requests from Postman work perfectly fine but on Flutter I get a HTTP 400 157 from the nginx server while performing a GET request.
...
0
votes
0
answers
20
views
sub_filter not replacing the strings in iframes
I'm using Nginx as revproxy for one of the application. One of the requirement is to replace the domain string in html pages. I was able to achieve this using sub_filter_types but the iframes from the ...
0
votes
0
answers
16
views
Redirecting a python application with nginx
There is a domain named demo_test and I have configured it for Nginx on mac machine. If I start Tomcat and Java application in the container on that machine and add the ip and port of that process to ...
0
votes
1
answer
38
views
504 Gateway Time-out nginx/1.18.0 (Ubuntu)
I was running a row project with Nginx virtual host setup, but suddenly encountered '504 Gateway Time-out nginx/1.18.0 (Ubuntu)' error. I then tried accessing other projects configured with the Nginx ...
0
votes
0
answers
22
views
Setting up nginx reverse proxy
I'm trying to load thumbnails from clips from twitch.tv. An example of such a thumbnail is https://clips-media-assets2.twitch.tv/CXzsrBvvfE329FjJpbitbQ%2F51975976173-offset-16224-preview-480x272.jpg
I ...
0
votes
1
answer
26
views
Backend Service doesn't receive "&" when using NGINX as reverse proxy
I'm using NGINX as reverse proxy, with dynamic mapping to forward the request to the correct backend.
Here is my map directive
map $arg_action $backend {
"~^nginx/.*" nginx-web;
"~^...
0
votes
0
answers
17
views
"Nginx Path-Based Routing Issue: Login Fails at /cs/ Path on HTTPS"
I’m currently configuring Nginx for path-based routing, and I've run into an issue where logging in to my application works when accessed via a specific URL, but fails when accessed through another ...
-1
votes
1
answer
86
views
Dockerized NGINX with Reverse proxy doesn't listen on the default port
I have deployed my django backend api on Amazon Ec2 using docker successfully.
My first step is when I attempted to put in a dockerized Nginx to act as a reverse proxy. I then eventually intend to use ...
0
votes
0
answers
7
views
Nginx Reverse Proxy With External IP And Port [migrated]
I am using Nginx on Windows. I have a question: Is it possible to use an external IP and port for Reverse Proxy operations with this tool? If so, do I need to add the external IP and port to my ...
-1
votes
0
answers
26
views
Nginx works slow for 10-12 minutes a few times per day
We have an nginx server running with CloudPanel and 2 WordPress sites.
Services that are running:
MySQL
PHP-FPM 8.2
PHP-FPM 8.3
Redis Server
(External) Cloudflare
Everything runs well most of the ...
1
vote
2
answers
128
views
upstream prematurely closed connection while reading response header from upstream while file upload
I'm facing an issue with file uploads on my Node.js application hosted behind a Nginx server. The setup involves using the Express-Formidable package as middleware for handling file uploads, which are ...
1
vote
1
answer
32
views
NGINX: How to Disable Client SSL Certificate for Specific URIs While Enforcing It for Others?
We are experiencing challenges with our NGINX configuration and could use some help. We have hosted a web application using NGINX, and our web application is protected by a client SSL certificate—...
0
votes
0
answers
43
views
405 Method Not Allowed Error for PUT Requests in Nginx Configuration
I have an Nginx server running over EC2 instance configured to handle various HTTP methods including GET, POST, and PUT. However, when I attempt to send a PUT request, I receive a 405 Method Not ...
0
votes
1
answer
53
views
Nginx Location Exact Match (location = /) Causing 404 Error Despite File Existing [closed]
I have an Nginx server configuration where I'm trying to serve a specific file home.html when a user accesses the root URL /. Here’s my Nginx configuration:
server {
listen 80;
server_name 127.0.0.1 ...
0
votes
1
answer
24
views
nginx proxy_ssl_certificate/proxy_ssl_certificate_key forward client certificate?
We've setup nginx ingress with mTLS enabled and we do observe that it's working fine,
However, we have a use case:
1, we have nginx-ingress(mtls enabled, ssl_verify_client=optional) with proxy-pass ...