{"action":"opened","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/944","labels_url":"https://api.github.com/repos/gogits/gogs/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/944/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/944/events","html_url":"https://github.com/gogits/gogs/issues/944","id":57545283,"number":944,"title":"about repository url when gogs running behind apache","user":{"login":"wanghm","id":433952,"avatar_url":"https://avatars.githubusercontent.com/u/433952?v=3","gravatar_id":"","url":"https://api.github.com/users/wanghm","html_url":"https://github.com/wanghm","followers_url":"https://api.github.com/users/wanghm/followers","following_url":"https://api.github.com/users/wanghm/following{/other_user}","gists_url":"https://api.github.com/users/wanghm/gists{/gist_id}","starred_url":"https://api.github.com/users/wanghm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanghm/subscriptions","organizations_url":"https://api.github.com/users/wanghm/orgs","repos_url":"https://api.github.com/users/wanghm/repos","events_url":"https://api.github.com/users/wanghm/events{/privacy}","received_events_url":"https://api.github.com/users/wanghm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-13T01:09:15Z","updated_at":"2015-02-13T01:09:15Z","closed_at":null,"body":"\r\nI setup a gogs server in aws:\r\n\r\n    ELB(https:443)->Apache(http:80)->gogs(http:3000)\r\n    URL: https://mydomain.xyz\r\n\r\nSeems everthing works fine except the repository url showing in the browser.\r\n(in \"copy to clipboard\" )\r\n\r\nI think it should be:\r\n\r\n    https://mydomain.xyz/xxx/xxxxx.git\r\nbut it is showing as :\r\n\r\n    http://127.0.0.1:3000/xxxx/xxxxx.git\r\n\r\nPlease tell me how to config in this case.\r\n\r\nNote, here is my setting:\r\n##### Apache Config\r\n\r\n    ProxyPass / http://localhost:3000/\r\n    ProxyPassreverse / http://localhost:3000/\r\n\r\n##### Gogs config(custom/conf/app.ini)\r\n\r\n    [server]\r\n    PROTOCOL = http\r\n    DOMAIN = mydomain.xxx\r\n    ROOT_URL = http://127.0.0.1:3000/\r\n\r\n"}}