瀏覽代碼

增加oidc-gateway 路由

pull/17/head
chenjiandong 2 年之前
父節點
當前提交
2f38ac5c52
共有 4 個檔案被更改,包括 28 行新增0 行删除
  1. +7
    -0
      src/main/resources/application-dev.yml
  2. +7
    -0
      src/main/resources/application-local.yml
  3. +7
    -0
      src/main/resources/application-prod.yml
  4. +7
    -0
      src/main/resources/application-test.yml

+ 7
- 0
src/main/resources/application-dev.yml 查看文件

@@ -123,6 +123,13 @@ spring:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# oidc admin服务
- id: tuoheng-oidc-admin
uri: lb://tuoheng-oidc-admin
predicates:
- Path=/oidc/admin/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 7
- 0
src/main/resources/application-local.yml 查看文件

@@ -122,6 +122,13 @@ spring:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# oidc admin服务
- id: tuoheng-oidc-admin
uri: lb://tuoheng-oidc-admin
predicates:
- Path=/oidc/admin/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 7
- 0
src/main/resources/application-prod.yml 查看文件

@@ -115,6 +115,13 @@ spring:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# oidc admin服务
- id: tuoheng-oidc-admin
uri: lb://tuoheng-oidc-admin
predicates:
- Path=/oidc/admin/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 7
- 0
src/main/resources/application-test.yml 查看文件

@@ -116,6 +116,13 @@ spring:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# oidc admin服务
- id: tuoheng-oidc-admin
uri: lb://tuoheng-oidc-admin
predicates:
- Path=/oidc/admin/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

Loading…
取消
儲存