{"action":"created","issue":{"url":"https://api.github.com/repos/kiwix/kiwix-tools/issues/96","repository_url":"https://api.github.com/repos/kiwix/kiwix-tools","labels_url":"https://api.github.com/repos/kiwix/kiwix-tools/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/kiwix/kiwix-tools/issues/96/comments","events_url":"https://api.github.com/repos/kiwix/kiwix-tools/issues/96/events","html_url":"https://github.com/kiwix/kiwix-tools/issues/96","id":271309058,"number":96,"title":"kiwix-serve random url returns 404 in proxy","user":{"login":"tim-moody","id":5678731,"avatar_url":"https://avatars2.githubusercontent.com/u/5678731?v=4","gravatar_id":"","url":"https://api.github.com/users/tim-moody","html_url":"https://github.com/tim-moody","followers_url":"https://api.github.com/users/tim-moody/followers","following_url":"https://api.github.com/users/tim-moody/following{/other_user}","gists_url":"https://api.github.com/users/tim-moody/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-moody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-moody/subscriptions","organizations_url":"https://api.github.com/users/tim-moody/orgs","repos_url":"https://api.github.com/users/tim-moody/repos","events_url":"https://api.github.com/users/tim-moody/events{/privacy}","received_events_url":"https://api.github.com/users/tim-moody/received_events","type":"User","site_admin":false},"labels":[{"id":472495141,"url":"https://api.github.com/repos/kiwix/kiwix-tools/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"kelson42","id":1029718,"avatar_url":"https://avatars0.githubusercontent.com/u/1029718?v=4","gravatar_id":"","url":"https://api.github.com/users/kelson42","html_url":"https://github.com/kelson42","followers_url":"https://api.github.com/users/kelson42/followers","following_url":"https://api.github.com/users/kelson42/following{/other_user}","gists_url":"https://api.github.com/users/kelson42/gists{/gist_id}","starred_url":"https://api.github.com/users/kelson42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelson42/subscriptions","organizations_url":"https://api.github.com/users/kelson42/orgs","repos_url":"https://api.github.com/users/kelson42/repos","events_url":"https://api.github.com/users/kelson42/events{/privacy}","received_events_url":"https://api.github.com/users/kelson42/received_events","type":"User","site_admin":false},"assignees":[{"login":"kelson42","id":1029718,"avatar_url":"https://avatars0.githubusercontent.com/u/1029718?v=4","gravatar_id":"","url":"https://api.github.com/users/kelson42","html_url":"https://github.com/kelson42","followers_url":"https://api.github.com/users/kelson42/followers","following_url":"https://api.github.com/users/kelson42/following{/other_user}","gists_url":"https://api.github.com/users/kelson42/gists{/gist_id}","starred_url":"https://api.github.com/users/kelson42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelson42/subscriptions","organizations_url":"https://api.github.com/users/kelson42/orgs","repos_url":"https://api.github.com/users/kelson42/repos","events_url":"https://api.github.com/users/kelson42/events{/privacy}","received_events_url":"https://api.github.com/users/kelson42/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-11-05T20:01:22Z","updated_at":"2018-03-14T11:47:02Z","closed_at":"2017-11-26T15:01:41Z","author_association":"NONE","body":"with direct (non-proxied) access to http://192.168.0.37:3000/kiwix/wikipedia_en_medicine_2017-10, the random url\r\nhttp://192.168.0.37/kiwix/wikipedia_en_medicine_2017-10/A%2fATCvet_code_QS02AA16.html is accessible\r\n\r\nhowever, from the proxy this url returns 404\r\n\r\nbut \r\n\r\nhttp://192.168.0.37/kiwix/wikipedia_en_medicine_2017-10/A/ATCvet_code_QS02AA16.html does not return 404 in the proxy\r\n\r\nIs it a problem to return '/' instead of %2f for the random url as is done for urls internal to pages?"},"comment":{"url":"https://api.github.com/repos/kiwix/kiwix-tools/issues/comments/372993662","html_url":"https://github.com/kiwix/kiwix-tools/issues/96#issuecomment-372993662","issue_url":"https://api.github.com/repos/kiwix/kiwix-tools/issues/96","id":372993662,"user":{"login":"g000444555","id":13013939,"avatar_url":"https://avatars2.githubusercontent.com/u/13013939?v=4","gravatar_id":"","url":"https://api.github.com/users/g000444555","html_url":"https://github.com/g000444555","followers_url":"https://api.github.com/users/g000444555/followers","following_url":"https://api.github.com/users/g000444555/following{/other_user}","gists_url":"https://api.github.com/users/g000444555/gists{/gist_id}","starred_url":"https://api.github.com/users/g000444555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g000444555/subscriptions","organizations_url":"https://api.github.com/users/g000444555/orgs","repos_url":"https://api.github.com/users/g000444555/repos","events_url":"https://api.github.com/users/g000444555/events{/privacy}","received_events_url":"https://api.github.com/users/g000444555/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T11:47:02Z","updated_at":"2018-03-14T11:47:02Z","author_association":"NONE","body":"I wander why this issue is closed? Reverse proxy still does not work with nginx. I have tried the exact configuration as above. I use nginx version 1.13.9-1 on ubuntu. I think the way to address it, is just like other applications do it, by adding a url_base option to the kiwix-serve command, for example\r\n\r\n`kiwix-serve --port=8080 url_base=/kiwix wikipedia.zim`\r\n"}}
{"actor":{"display_login":"g000444555"}}