Nginx遇到的部署问题-->应该是permission deny
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/js/bootstrap.js HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/js/superfish.js HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/js/jquery.tweet.js HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/js/jquery.prettyPhoto.js HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/js/myscript.js HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/js/application.js HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:07:44 +0800] "GET /static/blog/img/logo.png HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:08:05 +0800] "GET /static/favicon.ico HTTP/1.1" 403 198 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37 - - [03/Aug/2014:06:08:47 +0800] "GET /static/blog/css/prettyPhoto.css HTTP/1.1" 403 198 "http://182.92.99.8/xadmin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
171.106.247.194 - - [03/Aug/2014:06:21:01 +0800] "GET / HTTP/1.0" 500 10097 "-" "-"
root@AY140715013539708c0eZ:/home/zoueswebsite/static/bootstrap/css# tail /var/log/nginx/error.log.1
2014/08/03 06:08:05 [error] 13533#0: *12 open() "/root/zoueswebsite/static/favicon.ico" failed (13: Permission denied), client: 123.127.3.37, server: 182.92.99.8, request: "GET /static/favicon.ico HTTP/1.1", host: "182.92.99.8"
2014/08/03 06:08:47 [error] 13533#0: *12 open() "/root/zoueswebsite/static/blog/css/prettyPhoto.css" failed (13: Permission denied), client: 123.127.3.37, server: 182.92.99.8, request: "GET /static/blog/css/prettyPhoto.css HTTP/1.1", host: "182.92.99.8", referrer:
"http://182.92.99.8/xadmin/"
2014/08/03 06:25:01 [emerg] 13533#0: open() "/var/log/nginx/access.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13533#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13531#0: open() "/var/log/nginx/access.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13531#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13530#0: open() "/var/log/nginx/access.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13530#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13532#0: open() "/var/log/nginx/access.log" failed (13: Permission denied)
2014/08/03 06:25:01 [emerg] 13532#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)部署中遇到的问题(一),布布扣,bubuko.com
部署中遇到的问题(一)
原文:http://blog.csdn.net/zouyee/article/details/38355099