Category "nginx"

Aws elastic beanstalk nginx config is not working for my nodejs web application

I am using amazon elastic beanstalk for my nodejs website with nginx as proxy. I want to set the maximum upload size to 20mb as the default size is 1mb. I have

Docker container accessible only via Cloudflare CDN (selected ip ranges)

I have webserver in docker container, but I cannot configure iptables on my host (Debian). I want allow only specified ip addressess to connect on ports 80 and

python-requests making a GET instead of POST request

I have a daily cron which handles some of the recurring events at my app, and from time to time I notice one weird error that pops up in logs. The cron, among o

keep the nginx logs of the last 30 days [closed]

I want to keep the nginx logs of the lsat 30 days. The default configuration is 15 days, as the image shows. I would like to keep the last

Nginx RTMP not recording

I already setting up Nginx RTMP in ubuntu linux hosted by DigitalOcean. And currently running my laravel web application in localhost mode in my desktop. Everyt

Can't login to ODK Central Admin panel

My ODK central was working perfectly fine before I decided to update it to the recent release of ODK using this URL (https://docs.getodk.org/central-upgrade/),

Nginx display custom error page if folder does not exist

I would like to display a custom error page if there is a folder missing. My directory structure is the following: data defaults error.html notho

How to proxy both WSGI and ASGI via Uvicorn or Daphne with nginx and SSL proxy?

I have a small project that uses Django Channels (websockets) and it works fine locally. I've added SSL to my docker-based deployment with the letsencrypt-compa

AWS - x-real-ip is ip of nginx-ingress-controller

I currently have the following problem. I have a backend that is behind an nginx-ingress controller used as load balancer in aws. Usually i should get the users

Websocket error when using a proxy_pass to CRA development server using Nginx and Docker

I am trying to proxy_pass in Nginx to my React dev server at localhost:3000. It currently works but I am seeing an error in my console which I am unsure will ca

How to customize error pages served via the default backend of an nginx ingress controller?

I'm running an Nginx Ingress Controller installed via Helm on my Kubernetes cluster. I would like to change the HTML/CSS in the default backend service for some

Ubuntu Nginx/Laravel 500 Internal Server Error

When I try to access say: Http://localhost/page I get a 500 Internal Server Error from nginx. 500 Internal Server Error nginx/1.1.19 is all it states on the pag

(13: Permission denied) while connecting to upstream:[nginx]

I am working with configuring Django project with Nginx and Gunicorn. While I am accessing my port gunicorn mysite.wsgi:application --bind=127.0.0.1:8001 in Ng

Nginx ingress controller not giving metrics for prometheus

I am trying to deploy an nginx ingress controller which can be monitored using prometheus however I am running into an issue that it seems no metrics pod(s) is

What does "trust proxy" actually do in express.js, and do I need to use it?

I am writing an express app that sits behind an nginx server. I was reading through express's documentation and it mentioned the 'trust proxy' setting. All it

Angular SPA with Custom --base-href and Nginx Routing

We have an angular SPA application that we need to change the base path from www.site.com to www.site.com/app We added --base-href=/app to our ng build comm

Locate the nginx.conf file my nginx is actually using

Working on a client's server where there are two different versions of nginx installed. I think one of them was installed with the brew package manager (its an

Express and nginx net::ERR_CONTENT_LENGTH_MISMATCH

I'm developing an Express-driven site, that is going through an nginx proxy. Sometimes when loading a page in the browser, I get this: GET http://myapp.local/c

Express and nginx net::ERR_CONTENT_LENGTH_MISMATCH

I'm developing an Express-driven site, that is going through an nginx proxy. Sometimes when loading a page in the browser, I get this: GET http://myapp.local/c

The Streamlit app stops with "Please wait... " and then stops

Problem The app started by running streamlit run main.py will display http://IP_ADDRESS:8501 is displayed correctly, but http://DOMAIN_NAME stops with "Please w