ubuntu@VM-14-106-ubuntu:/var/log/nginx$ tail -7 access.log.1
107.150.2.60 - - [23/Apr/2017:03:01:04 +0800] "GET / HTTP/1.1" 200 612 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
212.47.246.179 - - [23/Apr/2017:03:02:45 +0800] "GET http://www.baidu.com/cache/gl... HTTP/1.1" 404 178 "-" "Mozilla"
95.213.187.186 - - [23/Apr/2017:03:26:03 +0800] "CONNECT check.best-proxies.ru:80 HTTP/1.1" 400 182 "-" "-"
139.162.124.167 - - [23/Apr/2017:03:44:18 +0800] "GET / HTTP/1.1" 200 396 "-" "Mozilla/5.0"
191.96.249.97 - - [23/Apr/2017:05:39:38 +0800] "GET /phpmyadmin/scripts/setup.php HTTP/1.0" 404 178 "-" "-"
121.199.70.200 - - [23/Apr/2017:05:51:42 +0800] "GET / HTTP/1.1" 200 612 "-" "-"
111.206.36.9 - - [23/Apr/2017:06:22:26 +0800] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36"
图片是其中一个地址的访问位置,应该是挂了代理了。
allow_host=['*']会对网站有什么影响吗?百度说是会被黑帽子们各种爬取,除此之外呢?希望大神科普一下,嘿嘿,(个人网站)
感谢评论区里第一位回复的大大,说修改nginx.conf的方法。
感觉挺有趣的,就问一下,有需要别的配置可以评论里回复我
在 nginx.conf修改相应配置, 如下: