Category "nginx"

Docker container not accessible through server public IP (working only with UFW disabled)

I bought a VPS on Vultr (host system Ubuntu 22.04) with the example IP identified as 123.123.123 and tried to launch a new container with the following command:

Nginx config to serve an Angular app under an URI prefix where files are generated in the same folder as "index.html"

There are a lot of Angular/Nginx examples on the web but I'm still unable to make my config work. I use Angular 13. In angular.json: outputPath is "www" baseHre

Nginx: In which order rate limiting and caching are executed?

I want to use nginx for rate limiting and caching. In which order nginx applies them? In other words, is it limiting only request to the upstream server or al

Forward IP Addresses - NGINX and IIS

We have a working NGINX redirecting our external users to our IIS server. The problem is that the IP seen by the IIS is the NGINX machine, not the IP from exter

Two apps with different port in single docker-compose and nginx reverse proxy

I have an app running with app.dev domain in my localhost. However, I would want to have an additional app running with a different port. Instead of port 80, it

Unable to access Kibana behind NginX reverse proxy on Docker

I have a Docker Compose setup with NginX, ElasticSearch and Kibana like the following: web: build: context: . dockerfile: ./system/docker/develo

Setting up gunicorn.service [Service] for Django app

Following the documentation and online tutorials on setting up my gunicorn.service results in ModuleNotFoundError: No module named 'my-app' when I run sudo syst

Get NGINX ip address in docker in Django settings.py for Django-debug-toolbar

I have a dockerized DRF project with installed NGINX in it. All works fine except one thing: Django debug toolbar requires INTERNAL_IPS parameter to be specifie

nginx 431 Request Header Fields Too Large

Recently, the size of data in our cookies has become larger, and all of the requests that go through nginx started getting rejected with 431 error responses. I

Docker "Invalid mount path app/symfony" must be absolute

Im trying to setup Webpack to run with docker. I'm looking to put it in its own container, build the files and then nginx will serve that produced code on its c

Nginx: log the actual forwarded proxy_pass request URI to upstream

I've got the following nginx conf: http { log_format upstream_logging '[proxied request] ' '$server_name$request_uri -> $ups

write tasks to install nginx and postgresql using ansible-playbook

.score.sh is given as #!/bin/bash pass=0; fail=0; if [ $? -eq 0 ];then worker=`ps -eaf|grep nginx|grep worker` master=`ps -eaf|grep nginx|grep master`

Containerized Keycloak behind Nginx not working (502 Bad Gateway)

I need to serve containerized keycloak behind Nginx. Keycloak runs without any problem at 'localhost:8080' but when I try to access it through the reverse proxy

Nginx Proxy Pass dont acceppts user & password

i need to proxy pass one URL from my internal network, that looks like this here: http://<user><passwd><ipaddress>:<port>/cgi-bin/mjpg/v

Storing docker nginx access logs inside a docker volume

Currently my docker container is printing the nginx access logs to /dev/stdout. How do I create a volume inside my docker container to store the access logs?

502 Bad Gateway for Proxy Pass to HTTPS API server sitting behind Cloudflare Proxy

My current configuration is as shown below. I have frontend delivered from EC2 instance on VM1. The HTTPS API server is on VM2 proxied by Cloudfare. If I call t

NGINX GeoIP2 blocking countries and implementing custom 403 page

This is driving me mad, hopefully someone can help. I have the following warning: But the 403 page is not friendly to blocked countries, I want to redirect peop

Nginx cofig can't read the static with 404 ERR_ABORTED

system: ubuntu 18.04.5 LTS nginx: nginx/1.14.0 (Ubuntu) Hi, I am trying Nginx to proxy reverse a service(doccano) to my prod path and need some help, below is t

Nginx follow redirect and reverse proxy last location

I'm trying to reverse proxy an URL that have a N redirect 301 inside. I want to follow all the pages and then reverse proxy the last page (fourth-url.php). Is

How to set the base path or the ApplicationPath for ASP.NET MVC application

I have an ASP.NET MVC web application which I want to put behind NGINX reverse proxy. Currently the web application is served from the domain's root, i.e., http