client ip behind nginx reverse proxy
I'm running an nginx reverse proxy to be able to run multiple servers behind my firewall. I noticed on my mail server the error log is filled with "failed login from < local ip of nginx >" and I was…
I'm running an nginx reverse proxy to be able to run multiple servers behind my firewall. I noticed on my mail server the error log is filled with "failed login from < local ip of nginx >" and I was…
I've hosted my laravel app on a digitalocean droplet (Ngnix Ubuntu) . Everything from this side is working well. I need to test remote access to mysql. First, from the Droplet's side, I've granted access to mysql by any Ip…
I am doing the terraform tutorial and reach the step to execute terraform apply. After executing that command I get this error: WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement Error: Error pinging Docker server: Got…
I'm using Modsecurity v3.0.3 with the blocking module and I need to get my auditlog. Also, because I need it, I have to use some custom error pages. Unfortunately, I have my logs, but I'm losing my auditlog. I tried…
I have server configured this way: server { listen 80 default_server; listen [::]:80 default_server; location /health { auth_basic "Restricted"; auth_basic_user_file "/etc/nginx/.htpasswd"; default_type application/json; return 200 '{"status":"Ok"}'; } } /etc/nginx/.htpasswd exists and contains desired credentials. Now when I try to access…
I can't upload an image more than 2MB in my website form. I have set up the needed settings in /etc/php/7.4/fpm/php.ini: ; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the…
I created a small demo project for SignalR. It all worked when I published my project behind Nginx without SSL. But after I ran Certbot and added SSL to the site all SignalR hubs / WebSockets stopped working. The site…
I'm using Magento 2.4 and when I'm trying to connect to my Magento 2 domain on localhost, I get the default Nginx page. This is the Nginx conf file in /etc/nginx/sites-available and I created a soft link of this file…
I am trying to get metrics from a running nginx container ( nginx_status endpoint restricted to 127.0.0.1, 172.17.0.0/16) docker exec nginx curl 127.0.0.1/nginx_status. is good When I run the ELK metricbeat container and set nginx as the host to monitor…
Help will be much appreciated. We have forced to upgrade our dockers to ubuntu18.04 from ubuntu16.04 becuase php7.3 is no longer supported using PPA. After the upgrade we got "400 Bad request" errors from nginx inside the pod. The new…