[SpringBoot] spring cloud gateway - 1
@SpringBootApplication @RestController public class Scg1Application { @GetMapping("/user/test") public String user() { return "user"; } public static void main(String[] args) { SpringApplication.run(Scg1Application.class, args); } } spring: cloud: gateway: routes: - id: user-api uri: http://localhost:8081/ predicates: - Path=/user/** 스프링부트에 scg(spring cloud gateway)를 이용해서 gateway구성을 해보자 springb..