@@ -1,11 +1,11 @@
|
||||
# Notice 生产配置(线上以 nacos 的 notice.yaml 为准,本文件是 nacos 不可达时的兜底)
|
||||
# 真正上线请在 Nacos 新建 dataId=notice.yaml、group=NOTICE 的配置覆盖以下项
|
||||
# CampusNotice 生产配置(线上以 nacos 的 campusnotice.yaml 为准,本文件是 nacos 不可达时的兜底)
|
||||
# 真正上线请在 Nacos 新建 dataId=campusnotice.yaml、group=OA_APP 的配置覆盖以下项
|
||||
# (尤其 datasource 的库名/账号、yh.sso.client-host-url)。
|
||||
server:
|
||||
port: 8070
|
||||
servlet:
|
||||
# 对外经 caddy 暴露为 http://base.yunhaixingtong.com/notice
|
||||
context-path: /notice
|
||||
# 对外经 caddy 暴露为 http://base.yunhaixingtong.com/campusnotice
|
||||
context-path: /campusnotice
|
||||
|
||||
spring:
|
||||
mvc:
|
||||
@@ -35,7 +35,7 @@ spring:
|
||||
yh:
|
||||
sso:
|
||||
server-url-prefix: http://sso.yunhaixingtong.com
|
||||
client-host-url: http://base.yunhaixingtong.com/notice
|
||||
client-host-url: http://base.yunhaixingtong.com/campusnotice
|
||||
allow-headers: all
|
||||
allow-origins: all
|
||||
url-pattern: /api/*
|
||||
|
||||
Reference in New Issue
Block a user