0
votes
0answers
49 views

Nginx shows no user agent string

I have been dealing with an issue on one of my servers for quite a while now. In short, the server receives massive spikes in load - up to 50 - but the site gets almost no traffic. I know this can be ...
1
vote
0answers
71 views

Where does cPanel, Apache, or Nginx log php script access?

Synopsis Earlier today a website went down due to some database issues. After some investigation I found out that some tables were missing data. In order for me to rule out "accidental deletion" by ...
2
votes
3answers
445 views

Parseable NGINX accesslog files with delimiters

The default NGINX format is this: log_format combined '$remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" ...
0
votes
1answer
502 views

How to block Bad robots, spiders, crawlers and harvesters

I'm sick and tired of this bad robots, spiders, crawlers and harvesters. I have already configured my server to block IP connected for 5 minutes and with maxretry of 250 using fail2ban. But still some ...
1
vote
1answer
38 views

Nginx keeps logging on main access_log

I have setup nginx in my server as a reverse proxy to haproxy. I have configured my own log_format and assigned it to every virtual host I have. However I have not turned off main access_log in ...
0
votes
1answer
342 views

How can I get unique IPv4 and IPv6 visitor counts on nginx access.log in shell?

How do I get some stats on unique IPv4 and IPv6 visitors by looking at a nginx access.log with UNIX CLI? I use the standard combined pre-defined format for access_log.
0
votes
2answers
359 views

Nginx 400 errors due to random encoded string starting with “\x” from random IP addresses

I assume these are some sort of bots, but would like to know what are they trying to do to my server. The logs in questions are below and the IP address has been changed from the original. ...
2
votes
1answer
1k views

Should I keep access_log turned on in Nginx?

Just thinking here from performance perspective that maybe turning access_log off; for my websites would improve the loading speed (even though it could be very minimal) but yea anyway how could ...