{"action":"created","issue":{"url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/55","repository_url":"https://api.github.com/repos/alexazhou/VeryNginx","labels_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/55/comments","events_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/55/events","html_url":"https://github.com/alexazhou/VeryNginx/issues/55","id":162606527,"number":55,"title":"自己编译的nginx，怎么才能访问verynginx后台？","user":{"login":"ladygh","id":11991772,"avatar_url":"https://avatars.githubusercontent.com/u/11991772?v=3","gravatar_id":"","url":"https://api.github.com/users/ladygh","html_url":"https://github.com/ladygh","followers_url":"https://api.github.com/users/ladygh/followers","following_url":"https://api.github.com/users/ladygh/following{/other_user}","gists_url":"https://api.github.com/users/ladygh/gists{/gist_id}","starred_url":"https://api.github.com/users/ladygh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladygh/subscriptions","organizations_url":"https://api.github.com/users/ladygh/orgs","repos_url":"https://api.github.com/users/ladygh/repos","events_url":"https://api.github.com/users/ladygh/events{/privacy}","received_events_url":"https://api.github.com/users/ladygh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-28T05:39:23Z","updated_at":"2016-06-28T06:01:48Z","closed_at":null,"body":"看了眼需要Included的3个文件并没有server信息\r\n\r\n\r\n    include /opt/verynginx/verynginx/nginx_conf/in_external.conf;\r\n    include /opt/verynginx/verynginx/nginx_conf/in_http_block.conf;\r\n    include /opt/verynginx/verynginx/nginx_conf/in_server_block.conf;\r\n\r\n\r\n是不是需要手动把\\dashboard放到目录下然后访问？"},"comment":{"url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/comments/228956274","html_url":"https://github.com/alexazhou/VeryNginx/issues/55#issuecomment-228956274","issue_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/55","id":228956274,"user":{"login":"alexazhou","id":9353779,"avatar_url":"https://avatars.githubusercontent.com/u/9353779?v=3","gravatar_id":"","url":"https://api.github.com/users/alexazhou","html_url":"https://github.com/alexazhou","followers_url":"https://api.github.com/users/alexazhou/followers","following_url":"https://api.github.com/users/alexazhou/following{/other_user}","gists_url":"https://api.github.com/users/alexazhou/gists{/gist_id}","starred_url":"https://api.github.com/users/alexazhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexazhou/subscriptions","organizations_url":"https://api.github.com/users/alexazhou/orgs","repos_url":"https://api.github.com/users/alexazhou/repos","events_url":"https://api.github.com/users/alexazhou/events{/privacy}","received_events_url":"https://api.github.com/users/alexazhou/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T06:01:48Z","updated_at":"2016-06-28T06:01:48Z","body":"还是安装的问题，这里是把 lua 嵌入到 nginx 中来执行，nginx 所有的请求都会被 lua 获得。然后在这个基础上实现了一些功能，比如请求特定路径的时候，返回 dashboard 内部的文件，post 特定路径的时候，lua 直接处理并进行返回（这里是不需要配置 nginx 目录的） \r\n\r\n你把dashboard 复制到网站目录，然后控制面板虽然能显示出来，但是是通过 nginx 自己返回来的，并不是 lua 控制的，这个逻辑并不对，所以 post 的时候会出现 404 。\r\n\r\n建议你可以先按照文档进行安装，在你能理解  VeryNginx 的原理之后，再修改安装方式。然后你会明白为什么要这样安装，以及问题出现在哪。"}}
{"actor":{"display_login":"alexazhou"}}