6

Personalize bitninja NGINX configuration


A
Adrian-George Mate

Ability to create permanent changes to NGINX.conf to suit our needs.
For example, we want to increse worker_connections in config for bigger servers, with higher traffic.
Right now, we do this via a cron that runs every 5 minutes, because the settings made in /opt/bitninja-waf/etc/nginx.conf are reset at a restart or update of bitninja.
#!/bin/bash
sed -i 's/.*worker_connections.*/ worker_connections 4096;/' /opt/bitninja-waf/etc/nginx.conf
/usr/bin/systemctl restart bitninja.service

A

Activity Newest / Oldest

A

Adam Vincze

Status changed to: Planned

A

Adam Vincze

Status changed to: Open

A

Adam Vincze

Status changed to: Planned