{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/381","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/381/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/381/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/381","id":85777744,"number":381,"title":"Zuul prefix is not working with services registered with Eureka.","user":{"login":"hrandika","id":7107923,"avatar_url":"https://avatars.githubusercontent.com/u/7107923?v=3","gravatar_id":"","url":"https://api.github.com/users/hrandika","html_url":"https://github.com/hrandika","followers_url":"https://api.github.com/users/hrandika/followers","following_url":"https://api.github.com/users/hrandika/following{/other_user}","gists_url":"https://api.github.com/users/hrandika/gists{/gist_id}","starred_url":"https://api.github.com/users/hrandika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrandika/subscriptions","organizations_url":"https://api.github.com/users/hrandika/orgs","repos_url":"https://api.github.com/users/hrandika/repos","events_url":"https://api.github.com/users/hrandika/events{/privacy}","received_events_url":"https://api.github.com/users/hrandika/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T16:28:07Z","updated_at":"2015-06-07T17:15:14Z","closed_at":"2015-06-07T17:15:14Z","body":"Services registered with Euraka then get automaticaly registered with Zuul.\r\nEx: Mapped URL path [/user/**] onto handler of type\r\nHere I have a 'user' service registred to eureka as well as the zuul itself.\r\nWhat I wanted that service is mapped to /api/user from zuul. So I have added \r\n\r\nserver:\r\n  port: 8081\r\nzuul:\r\n  prefix:/api\r\n\r\nin gateway.yml which is the configurations of zuul that get from configuration server. \r\nBut the prefix is not working. have to go with \r\nlocalhost:8081/user\r\ninsted i want service to be mapped to\r\nlocalhost:8081/api/user\r\nanything I'm doing wrong?"}}