{"action":"created","issue":{"url":"https://api.github.com/repos/slact/nchan/issues/172","repository_url":"https://api.github.com/repos/slact/nchan","labels_url":"https://api.github.com/repos/slact/nchan/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/slact/nchan/issues/172/comments","events_url":"https://api.github.com/repos/slact/nchan/issues/172/events","html_url":"https://github.com/slact/nchan/issues/172","id":152546581,"number":172,"title":"What is wrong in this case ?","user":{"login":"valydvweb","id":18472799,"avatar_url":"https://avatars.githubusercontent.com/u/18472799?v=3","gravatar_id":"","url":"https://api.github.com/users/valydvweb","html_url":"https://github.com/valydvweb","followers_url":"https://api.github.com/users/valydvweb/followers","following_url":"https://api.github.com/users/valydvweb/following{/other_user}","gists_url":"https://api.github.com/users/valydvweb/gists{/gist_id}","starred_url":"https://api.github.com/users/valydvweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valydvweb/subscriptions","organizations_url":"https://api.github.com/users/valydvweb/orgs","repos_url":"https://api.github.com/users/valydvweb/repos","events_url":"https://api.github.com/users/valydvweb/events{/privacy}","received_events_url":"https://api.github.com/users/valydvweb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-02T12:50:22Z","updated_at":"2016-05-02T15:14:02Z","closed_at":null,"body":"Hello,\r\n\r\nI want to publish a message on two channels in the following way:\r\n\r\n# TEST\r\n        location /test {\r\n          nchan_pubsub;\r\n          nchan_channel_id \"test\";\r\n          nchan_store_messages off;\r\n          nchan_publisher_upstream_request \"/pub\";\r\n        }\r\n\r\n        location /pub {\r\n           nchan_publisher;\r\n           nchan_publisher_channel_id \"foo\";\r\n           return 304;\r\n        }\r\n\r\n        location /foo {\r\n            nchan_pubsub;\r\n            nchan_channel_id \"foo\";\r\n            nchan_store_messages off;\r\n        }\r\n    \r\nThe message is published only \"test\" channel.\r\n\r\nI intend to do the next thing\r\n\r\n    location /pub {\r\n        nchan_publisher;\r\n       if ($request_body = \"test\") { \r\n           nchan_publisher_channel_id \"foo\";\r\n        }\r\n\r\n        return 304;\r\n    }\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/slact/nchan/issues/comments/216263675","html_url":"https://github.com/slact/nchan/issues/172#issuecomment-216263675","issue_url":"https://api.github.com/repos/slact/nchan/issues/172","id":216263675,"user":{"login":"valydvweb","id":18472799,"avatar_url":"https://avatars.githubusercontent.com/u/18472799?v=3","gravatar_id":"","url":"https://api.github.com/users/valydvweb","html_url":"https://github.com/valydvweb","followers_url":"https://api.github.com/users/valydvweb/followers","following_url":"https://api.github.com/users/valydvweb/following{/other_user}","gists_url":"https://api.github.com/users/valydvweb/gists{/gist_id}","starred_url":"https://api.github.com/users/valydvweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valydvweb/subscriptions","organizations_url":"https://api.github.com/users/valydvweb/orgs","repos_url":"https://api.github.com/users/valydvweb/repos","events_url":"https://api.github.com/users/valydvweb/events{/privacy}","received_events_url":"https://api.github.com/users/valydvweb/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T15:14:02Z","updated_at":"2016-05-02T15:14:02Z","body":"myip - - [02/May/2016:18:12:10 +0300] \"GET /test.php HTTP/1.1\" 200 741 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\"\r\nmyip - - [02/May/2016:18:12:10 +0300] \"GET /test HTTP/1.1\" 101 11 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\"\r\nmyip - - [02/May/2016:18:12:10 +0300] \"GET /foo HTTP/1.1\" 101 2 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\"\r\n136.243.206.7 - - [02/May/2016:18:12:12 +0300] \"POST /proxy HTTP/1.0\" 304 0 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\""}}