Just moved everything over from Apache. Trying to block a few individual IP addresses.
When add this to a server block:
location / {
deny 0.0.0.0;
}
Get the following error when restarting Nginx:
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
Did not figure out what am doing wrong after using above commands.
Ideas as to what is being done improperly?
When add this to a server block:
location / {
deny 0.0.0.0;
}
Get the following error when restarting Nginx:
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
Did not figure out what am doing wrong after using above commands.
Ideas as to what is being done improperly?