Commit 09b087d7 authored by Ghitha Dinan's avatar Ghitha Dinan

server.max-http-header-size=10000KB

parent 90cf3f80
......@@ -2,8 +2,8 @@ package id.co.sangkuriang.inovasi.daerah.master.constant
import java.io.File
const val ROOT_DIR = "D:\\app-files\\inovasi_daerah_master\\files\\"
//const val ROOT_DIR = "/home/inovasi-daerah/data/files/inovasi_daerah_master/"
//const val ROOT_DIR = "D:\\app-files\\inovasi_daerah_master\\files\\"
const val ROOT_DIR = "/home/inovasi-daerah/data/files/inovasi_daerah_master/"
//const val ROOT_DIR = "/home/inovasi-daerah-prod/data/files/inovasi_daerah_master/"
val UPLOAD_DIR = "${ROOT_DIR}uploads${File.separator}"
......
......@@ -2,9 +2,9 @@ package id.co.sangkuriang.inovasi.daerah.master.constant
const val TOKEN_PREFIX = "Bearer "
const val HEADER_STRING = "Authorization"
const val AUTH_URL = "http://localhost:8081/auth"
//const val AUTH_URL = "http://localhost:8081/auth"
//const val AUTH_URL = "https://auth.inovasi-daerah.dev.layanan.go.id/auth"
//const val AUTH_URL = "http://inovasi-daerah-auth.inovasi-daerah.svc.cluster.local:8081/auth"
const val AUTH_URL = "http://inovasi-daerah-auth.inovasi-daerah.svc.cluster.local:8081/auth"
//const val AUTH_URL = "http://inovasi-daerah-auth-prod.inovasi-daerah-prod.svc.cluster.local:8081/auth"
val USER_ALLOWED_PATH = emptyList<String>()
......
......@@ -5,14 +5,14 @@ server.port=8080
# DATABASE CONFIG
# local
spring.datasource.url=jdbc:postgresql://localhost:5432/inovasi_daerah_backup
spring.datasource.username=postgres
spring.datasource.password=root
#spring.datasource.url=jdbc:postgresql://localhost:5432/inovasi_daerah_backup
#spring.datasource.username=postgres
#spring.datasource.password=root
# dev
#spring.datasource.url=jdbc:postgresql://pg-dev.spbe.sangkuriang.co.id:5432/inovasi_daerah_db
#spring.datasource.username=u_inovasi_daerah
#spring.datasource.password=wV9Tnx6S8TmmUYXdgkmN4pzreSD3RE
spring.datasource.url=jdbc:postgresql://pg-dev.spbe.sangkuriang.co.id:5432/inovasi_daerah_db
spring.datasource.username=u_inovasi_daerah
spring.datasource.password=wV9Tnx6S8TmmUYXdgkmN4pzreSD3RE
# prod
#spring.datasource.url=jdbc:postgresql://pg.spbe-prd.sangkuriang.co.id:5432/inovasi_daerah_db
......@@ -33,3 +33,6 @@ spring.jpa.properties.hibernate.format_sql=true
# UPLOAD CONFIG
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
# APP CONFIG
server.max-http-header-size=10000KB
......@@ -2,8 +2,8 @@
<!-- configuration file for LogBack (slf4J implementation)
See here for more details: http://gordondickens.com/wordpress/2013/03/27/sawing-through-the-java-loggers/ -->
<configuration scan="true" scanPeriod="30 seconds">
<property name="DEV_HOME" value="D://app-files//inovasi_daerah_master//log"/>
<!-- <property name="DEV_HOME" value="/home/inovasi-daerah/data/log/inovasi_daerah_master"/>-->
<!-- <property name="DEV_HOME" value="D://app-files//inovasi_daerah_master//log"/>-->
<property name="DEV_HOME" value="/home/inovasi-daerah/data/log/inovasi_daerah_master"/>
<!-- <property name="DEV_HOME" value="/home/inovasi-daerah-prod/data/log/inovasi_daerah_master"/>-->
<appender name="ACCESS-LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment