首页 > 代码库 > 部署设置问题(一)的解决

部署设置问题(一)的解决

Nginx遇到的部署问题-->应该是permission deny

查看了 /etc/nginx/nginx.conf 首行 user 然后将其设置为root就好了 不知道会否有安全问题


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"