{"action":"closed","issue":{"url":"https://api.github.com/repos/omega8cc/boa/issues/655","labels_url":"https://api.github.com/repos/omega8cc/boa/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/omega8cc/boa/issues/655/comments","events_url":"https://api.github.com/repos/omega8cc/boa/issues/655/events","html_url":"https://github.com/omega8cc/boa/issues/655","id":61713580,"number":655,"title":"xboa proxy remote_ip config","user":{"login":"ar-jan","id":1176293,"avatar_url":"https://avatars.githubusercontent.com/u/1176293?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-jan","html_url":"https://github.com/ar-jan","followers_url":"https://api.github.com/users/ar-jan/followers","following_url":"https://api.github.com/users/ar-jan/following{/other_user}","gists_url":"https://api.github.com/users/ar-jan/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-jan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-jan/subscriptions","organizations_url":"https://api.github.com/users/ar-jan/orgs","repos_url":"https://api.github.com/users/ar-jan/repos","events_url":"https://api.github.com/users/ar-jan/events{/privacy}","received_events_url":"https://api.github.com/users/ar-jan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/omega8cc/boa/labels/status%20-%20needs%20work","name":"status - needs work","color":"fbca04"},{"url":"https://api.github.com/repos/omega8cc/boa/labels/type%20-%20bug%20report","name":"type - bug report","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/omega8cc/boa/milestones/3","html_url":"https://github.com/omega8cc/boa/milestones/2.4.2","labels_url":"https://api.github.com/repos/omega8cc/boa/milestones/3/labels","id":940887,"number":3,"title":"2.4.2","description":"Milestone for the third BOA release in 2015.","creator":{"login":"omega8cc","id":128547,"avatar_url":"https://avatars.githubusercontent.com/u/128547?v=3","gravatar_id":"","url":"https://api.github.com/users/omega8cc","html_url":"https://github.com/omega8cc","followers_url":"https://api.github.com/users/omega8cc/followers","following_url":"https://api.github.com/users/omega8cc/following{/other_user}","gists_url":"https://api.github.com/users/omega8cc/gists{/gist_id}","starred_url":"https://api.github.com/users/omega8cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omega8cc/subscriptions","organizations_url":"https://api.github.com/users/omega8cc/orgs","repos_url":"https://api.github.com/users/omega8cc/repos","events_url":"https://api.github.com/users/omega8cc/events{/privacy}","received_events_url":"https://api.github.com/users/omega8cc/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-01-18T22:45:47Z","updated_at":"2015-03-15T00:24:36Z","due_on":"2015-04-07T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-14T23:31:29Z","updated_at":"2015-03-15T00:24:36Z","closed_at":"2015-03-15T00:24:36Z","body":"I just tried the xboa migrate feature and it worked flawlessly, except for one detail at the end:\r\n\r\nThe `xboa proxy o1 target-ip` command gave this message for each hosted domain:\r\n    Dom is example.com\r\n    INFO: site example.com proxy conversion on o1 complete\r\n\r\nBut ended with:\r\n    nginx: [emerg] host not found in upstream \"remote_ip\" in /data/disk/o1/config/server_master/nginx/vhost.d/example.com:10\r\n    nginx: configuration file /etc/nginx/nginx.conf test failed\r\n\r\nAfter adding this to the example.com vhost, nginx reload worked. I guess this should go in a generic config file but I don't know which one:\r\n\r\n    upstream remote_ip {\r\n      server target-ip:80;\r\n    }\r\n\r\nThanks for this excellent feature!"}}