Created
March 7, 2016 19:53
-
-
Save tiarebalbi/07aaa61f84d3ea3822e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zuul: | |
ignored-services: "*" | |
prefix: /v1 | |
routes: | |
receptor-dados: /receptor/** | |
gerenciador-dados: /dados/** | |
auth-server: | |
path: /auth/** | |
serviceId: auth-server | |
stripPrefix: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@EnableZuulProxy | |
@EnableEurekaClient | |
@SpringBootApplication | |
public class GatewayApplication { | |
public static void main(String[] args) { | |
new SpringApplicationBuilder(GatewayApplication.class).web(true).run(args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment