error_log filename.log debug
все равно неясно 2018/09/03 19:20:27 [notice] 1#1: using the "epoll" event method
2018/09/03 19:20:27 [notice] 1#1: nginx/1.14.0
2018/09/03 19:20:27 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0)
2018/09/03 19:20:27 [notice] 1#1: OS: Linux 4.15.0-33-generic
2018/09/03 19:20:27 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2018/09/03 19:20:27 [notice] 1#1: start worker processes
2018/09/03 19:20:27 [notice] 1#1: start worker process 6
2018/09/03 19:21:58 [error] 6#6: *2 directory index of "/usr/share/nginx/html/" is forbidden, client: 172.18.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
172.18.0.1 - - [03/Sep/2018:19:21:58 +0000] "GET / HTTP/1.1" 403 571 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/68.0.3440.106 Chrome/68.0.3440.106 Safari/537.36"
2018/09/03 19:22:03 [notice] 6#6: *2 "^(.+)$" matches "/favicon.ico", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 rewritten data: "/index.html", args: "", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 "^(.+)$" matches "/index.html", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 rewritten data: "/index.html", args: "", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 "^(.+)$" matches "/index.html", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 rewritten data: "/index.html", args: "", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 "^(.+)$" matches "/index.html", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 rewritten data: "/index.html", args: "", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 "^(.+)$" matches "/index.html", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [notice] 6#6: *2 rewritten data: "/index.html", args: "", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2018/09/03 19:22:03 [error] 6#6: *2 rewrite or internal redirection cycle while redirect to named location "@rewrites", client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
172.18.0.1 - - [03/Sep/2018:19:22:03 +0000] "GET /favicon.ico HTTP/1.1" 500 595 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/68.0.3440.106 Chrome/68.0.3440.106 Safari/537.36"
2018/09/03 19:22:09 [info] 6#6: *1 client closed connection while waiting for request, client: 172.18.0.1, server: 0.0.0.0:80