build: 배포환경 적용

dev
Jonguk. Lim 5 months ago
parent 0873c3cd0b
commit 5c5e212344

@ -147,7 +147,7 @@ app:
file: file:
path: ${app.data.root.path}/files/ path: ${app.data.root.path}/files/
cors: cors:
allowed-origins: http://localhost:9077 allowed-origins: http://localhost:9999
swagger: swagger:
desc: 사고마약류폐기지원시스템 desc: 사고마약류폐기지원시스템
log: log:
@ -188,7 +188,7 @@ app:
url: 'http://211.119.124.9:${server.port}${server.servlet.context-path:}/' url: 'http://211.119.124.9:${server.port}${server.servlet.context-path:}/'
desc: 사고마약류폐기지원시스템 desc: 사고마약류폐기지원시스템
cors: cors:
allowed-origins: http://localhost:9077, http://localhost:8081, http://211.119.124.73:9077 allowed-origins: http://localhost:9077, http://211.119.124.73:9077
log: log:
parameter-enabled: true parameter-enabled: true
response-enabled: true response-enabled: true
@ -202,10 +202,10 @@ spring:
hikari: hikari:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy #org.mariadb.jdbc.Driver driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy #org.mariadb.jdbc.Driver
#driver-class-name: org.mariadb.jdbc.Driver #driver-class-name: org.mariadb.jdbc.Driver
#jdbc-url: jdbc:mariadb://105.19.10.69:4407/egov?useUnicode=true&characterEncoding=utf-8&rewriteBatchedStatements=true&autoReconnect=true jdbc-url: jdbc:log4jdbc:mariadb://105.19.10.69:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false
# username: addsweb # username: addsweb
# password: addsweb1234 # password: addsweb1234
jdbc-url: ENC(i0hs66bcYlDkCYprboDRqDxdExWqm63atJraioI1X5SZTIYc8cLIM7mlIZm3GtCI9dxy3vNOztD/SboB+vzkvVjU61GTZ3MZ0chKDHPa8s/yrCzqAF7Sit0CAEEXToMxAbWx9+W9H4+CGR9VuX/GKWjpAY5tJjjxoTmsdyizKys+FSHZoYZzZQ==) #jdbc-url: ENC(i0hs66bcYlDkCYprboDRqDxdExWqm63atJraioI1X5SZTIYc8cLIM7mlIZm3GtCI9dxy3vNOztD/SboB+vzkvVjU61GTZ3MZ0chKDHPa8s/yrCzqAF7Sit0CAEEXToMxAbWx9+W9H4+CGR9VuX/GKWjpAY5tJjjxoTmsdyizKys+FSHZoYZzZQ==)
username: ENC(M4g3XkH/bzupKW2w4WYH3Q==) username: ENC(M4g3XkH/bzupKW2w4WYH3Q==)
password: ENC(fzV0zekJQ7t/QHiz75k+xqdsDUWW6+MY) password: ENC(fzV0zekJQ7t/QHiz75k+xqdsDUWW6+MY)
auto-commit: false auto-commit: false
@ -230,7 +230,7 @@ app:
url: 'http://105.19.10.69:${server.port}${server.servlet.context-path:}/' url: 'http://105.19.10.69:${server.port}${server.servlet.context-path:}/'
desc: 사고마약류폐기지원시스템 desc: 사고마약류폐기지원시스템
cors: cors:
allowed-origins: http://localhost:8081,http://105.19.10.69:8081 allowed-origins: http://localhost:8081, http://105.19.10.69:8081
log: log:
parameter-enabled: true parameter-enabled: true
response-enabled: true response-enabled: true

@ -15,7 +15,7 @@ app:
# 리소스 접근을 허용하는 HTTP 메서드를 지정 # 리소스 접근을 허용하는 HTTP 메서드를 지정
allowed-methods: GET, POST, PUT, DELETE, OPTIONS allowed-methods: GET, POST, PUT, DELETE, OPTIONS
# 요청을 허용하는 해더 # 요청을 허용하는 해더
allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, x-csrf-token, Authorization allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, x-csrf-token, Authorization, strict-origin-when-cross-origin
#allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, Authorization, Content-Security-Policy #allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, Authorization, Content-Security-Policy
# 클라이언트에서 preflight 의 요청 결과를 저장할 기간을 지정 # 클라이언트에서 preflight 의 요청 결과를 저장할 기간을 지정
# 60초 동안 preflight 요청을 캐시하는 설정으로, 첫 요청 이후 60초 동안은 OPTIONS 메소드를 사용하는 예비 요청을 보내지 않는다. # 60초 동안 preflight 요청을 캐시하는 설정으로, 첫 요청 이후 60초 동안은 OPTIONS 메소드를 사용하는 예비 요청을 보내지 않는다.

Loading…
Cancel
Save