I want to generate an IP firewall list for nginx through PHP. PHP generates the firewall.conf and this I want to include in nginx.
The problem is that nginx doesn't check changes in .conf-files, so I need to run "nginx reload". As our security settings doesn't allow exec() I'm not able to access the command line.
So my question is: Is it possible to reload nginx confs by a http request?
The idea is to call "http://example.org/?secret=key" by using PHP and this fires "nginx reload".