Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse

Table of Contents

Zuul

1. [zuul] Zuul 과 Eureka 디펜던시 추가 (build.gradle)

...

Code Block
languagejava
titleZuulApplication
linenumberstrue
@EnableZuulProxy
@EnableDiscoveryClient
@SpringBootApplication
public class ZuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class, args);
    }
}


4. 실행결과


Info

http://localhost:8765/product/products/11111

http://localhost:8765/display/displays/11111