{"action":"created","issue":{"url":"https://api.github.com/repos/maxking/docker-mailman/issues/215","repository_url":"https://api.github.com/repos/maxking/docker-mailman","labels_url":"https://api.github.com/repos/maxking/docker-mailman/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/maxking/docker-mailman/issues/215/comments","events_url":"https://api.github.com/repos/maxking/docker-mailman/issues/215/events","html_url":"https://github.com/maxking/docker-mailman/issues/215","id":297628228,"number":215,"title":"Default endpoint","user":{"login":"legraina","id":8580774,"avatar_url":"https://avatars0.githubusercontent.com/u/8580774?v=4","gravatar_id":"","url":"https://api.github.com/users/legraina","html_url":"https://github.com/legraina","followers_url":"https://api.github.com/users/legraina/followers","following_url":"https://api.github.com/users/legraina/following{/other_user}","gists_url":"https://api.github.com/users/legraina/gists{/gist_id}","starred_url":"https://api.github.com/users/legraina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legraina/subscriptions","organizations_url":"https://api.github.com/users/legraina/orgs","repos_url":"https://api.github.com/users/legraina/repos","events_url":"https://api.github.com/users/legraina/events{/privacy}","received_events_url":"https://api.github.com/users/legraina/received_events","type":"User","site_admin":false},"labels":[{"id":571529425,"url":"https://api.github.com/repos/maxking/docker-mailman/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":591968832,"url":"https://api.github.com/repos/maxking/docker-mailman/labels/web","name":"web","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-15T23:02:06Z","updated_at":"2018-02-15T23:25:55Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm not able to mount mailman on specific endpoint. For example, I would like to have http://mysite.com/mailman/.... The problem with that is that all the links within mailman do not take into account the endpoint (i.e., /mailman/).\r\nIs there any option to obtain such a result please ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/maxking/docker-mailman/issues/comments/366096394","html_url":"https://github.com/maxking/docker-mailman/issues/215#issuecomment-366096394","issue_url":"https://api.github.com/repos/maxking/docker-mailman/issues/215","id":366096394,"user":{"login":"maxking","id":667349,"avatar_url":"https://avatars1.githubusercontent.com/u/667349?v=4","gravatar_id":"","url":"https://api.github.com/users/maxking","html_url":"https://github.com/maxking","followers_url":"https://api.github.com/users/maxking/followers","following_url":"https://api.github.com/users/maxking/following{/other_user}","gists_url":"https://api.github.com/users/maxking/gists{/gist_id}","starred_url":"https://api.github.com/users/maxking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxking/subscriptions","organizations_url":"https://api.github.com/users/maxking/orgs","repos_url":"https://api.github.com/users/maxking/repos","events_url":"https://api.github.com/users/maxking/events{/privacy}","received_events_url":"https://api.github.com/users/maxking/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T23:25:54Z","updated_at":"2018-02-15T23:25:54Z","author_association":"OWNER","body":"Those are relative URLs, so they would change automatically.\r\n\r\nI have done this before, using a URL prefix in Nginx configuration. \r\n\r\n```\r\nlocation /mailman {\r\n    uwsgi_pass 172.19.199.3:8080;\r\n    uwsgi_param SCRIPT_NAME /subpath; # explicitly set SCRIPT_NAME to match subpath\r\n    uwsgi_modifier1 30; # strips SCRIPT_NAME from PATH_INFO (the url passed to Django)\r\n    include uwsgi_params;\r\n}\r\n``` \r\nI *think* there is some issue in the closed issues, which might be related. I can find it out later for you if this doesn't work."}}
{"actor":{"display_login":"maxking"}}