Category "nginx"

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

Nginx 403 while accessing static files in docker volumes

I am trying to serve static files in docker volumes for my Django project. Nginx is able to access the files(403) error. I tried to solve this in different way

Problem with setting up a stack nginx proxy manager using portainer on my home server

I had this error while trying to setup a nginx proxy manager container using portainer, portainer started without problems error: Recreating 3167b8f95097_nginxp

why does connect domain to "Shopify" ask for either CNAME and A Record?

why does connect domain to "Shopify" ask for either CNAME and ARecord? ref If you've purchased your domain through a third party, then you need to edit th

nginx index.html does not update after modification

Sorry for noob question, I suck at Ubuntu. I have just installed nginx in a Ubuntu server with: sudo apt-get update sudo apt-get -y install nginx It success

digital ocean deployment error: 502 Bad Gateway

I had my site up and running, but the admin CSS was not loading, I am not sure what I did that the server did not agree, but now the entire site is down with a

Not able to see URL without trailing slash in NGINX

I know that this is a common issue in NGINX and there are many threads about that. Issue: When accessing the URL http://localhost/var without trailing slash is

Nginx compress mime types with parameters

I have Nginx reverse proxying my service that works by OData protocol. I'm trying to enable compression for theese requests by putting #... gzip on; gzip_type