{"action":"created","issue":{"url":"https://api.github.com/repos/GrimmjowNa/autotest/issues/1","repository_url":"https://api.github.com/repos/GrimmjowNa/autotest","labels_url":"https://api.github.com/repos/GrimmjowNa/autotest/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/GrimmjowNa/autotest/issues/1/comments","events_url":"https://api.github.com/repos/GrimmjowNa/autotest/issues/1/events","html_url":"https://github.com/GrimmjowNa/autotest/issues/1","id":390132958,"node_id":"MDU6SXNzdWUzOTAxMzI5NTg=","number":1,"title":"Django集成Vue","user":{"login":"GrimmjowNa","id":15318124,"node_id":"MDQ6VXNlcjE1MzE4MTI0","avatar_url":"https://avatars3.githubusercontent.com/u/15318124?v=4","gravatar_id":"","url":"https://api.github.com/users/GrimmjowNa","html_url":"https://github.com/GrimmjowNa","followers_url":"https://api.github.com/users/GrimmjowNa/followers","following_url":"https://api.github.com/users/GrimmjowNa/following{/other_user}","gists_url":"https://api.github.com/users/GrimmjowNa/gists{/gist_id}","starred_url":"https://api.github.com/users/GrimmjowNa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrimmjowNa/subscriptions","organizations_url":"https://api.github.com/users/GrimmjowNa/orgs","repos_url":"https://api.github.com/users/GrimmjowNa/repos","events_url":"https://api.github.com/users/GrimmjowNa/events{/privacy}","received_events_url":"https://api.github.com/users/GrimmjowNa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T09:20:47Z","updated_at":"2018-12-12T09:37:10Z","closed_at":null,"author_association":"OWNER","body":"## 知识点\r\n- [跨域](https://zhuanlan.zhihu.com/p/25778815)\r\n  - [cros跨域](http://www.ruanyifeng.com/blog/2016/04/cors.html)\r\n- [理解vue响应式原理](https://cn.vuejs.org/v2/guide/reactivity.html)\r\n  - [Object.defineProperty()\r\n](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty)\r\n- [vue-cli创建vue项目](https://cli.vuejs.org/zh/guide/creating-a-project.html#vue-create)\r\n- [整合 Django + Vue.js](https://cloud.tencent.com/developer/article/1005607)"},"comment":{"url":"https://api.github.com/repos/GrimmjowNa/autotest/issues/comments/446523164","html_url":"https://github.com/GrimmjowNa/autotest/issues/1#issuecomment-446523164","issue_url":"https://api.github.com/repos/GrimmjowNa/autotest/issues/1","id":446523164,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjUyMzE2NA==","user":{"login":"GrimmjowNa","id":15318124,"node_id":"MDQ6VXNlcjE1MzE4MTI0","avatar_url":"https://avatars3.githubusercontent.com/u/15318124?v=4","gravatar_id":"","url":"https://api.github.com/users/GrimmjowNa","html_url":"https://github.com/GrimmjowNa","followers_url":"https://api.github.com/users/GrimmjowNa/followers","following_url":"https://api.github.com/users/GrimmjowNa/following{/other_user}","gists_url":"https://api.github.com/users/GrimmjowNa/gists{/gist_id}","starred_url":"https://api.github.com/users/GrimmjowNa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrimmjowNa/subscriptions","organizations_url":"https://api.github.com/users/GrimmjowNa/orgs","repos_url":"https://api.github.com/users/GrimmjowNa/repos","events_url":"https://api.github.com/users/GrimmjowNa/events{/privacy}","received_events_url":"https://api.github.com/users/GrimmjowNa/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T09:37:10Z","updated_at":"2018-12-12T09:37:10Z","author_association":"OWNER","body":"## Django部署: gunicorn_django + supervisorctl + nginx代理\r\n\r\n###### supervisor配置\r\n`gunicorn_django -b 127.0.0.1:8000 -w 6 -t 90 --log-file /var/log/nginx/gunicorn_log`\r\n\r\n###### nginx配置\r\n```\r\nlisten 80;\r\nserver_name 127.0.0.1;\r\nlocation / {\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header REMOTE_HOST $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-FORWARDED-PROTOCOL $scheme;\r\n        proxy_pass http://127.0.0.1:8000/;\r\n}\r\n```"}}
{"actor":{"display_login":"GrimmjowNa"}}