码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-08-03 10:21:45      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:python   nginx   django   

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"

部署设置问题(一)的解决,布布扣,bubuko.com

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

标签:python   nginx   django   

原文地址:http://blog.csdn.net/zouyee/article/details/38355255

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!