Make gateway host configurable via SERVER_HOST environment variable
This commit is contained in:
@@ -11,7 +11,7 @@ spring:
|
||||
gateway:
|
||||
routes:
|
||||
- id: server
|
||||
uri: http://localhost:8081
|
||||
uri: http://${SERVER_HOST:localhost}:8081
|
||||
predicates:
|
||||
- Path=/api/**
|
||||
filters:
|
||||
|
||||
Reference in New Issue
Block a user