123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- server.port = ${KK_SERVER_PORT:8012}
- server.servlet.context-path= ${KK_CONTEXT_PATH:/}
- server.servlet.encoding.charset = utf-8
- server.compression.enable= true
- server.compression.min-response-size = 2048
- server.compression.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain,font/woff,application/font-woff,font/eot,image/svg+xml,image/x-icon
- spring.servlet.multipart.max-file-size=500MB
- spring.servlet.multipart.max-request-size=500MB
- spring.freemarker.template-loader-path = classpath:/web/
- spring.freemarker.cache = false
- spring.freemarker.charset = UTF-8
- spring.freemarker.check-template-location = true
- spring.freemarker.content-type = text/html
- spring.freemarker.expose-request-attributes = true
- spring.freemarker.expose-session-attributes = true
- spring.freemarker.request-context-attribute = request
- spring.freemarker.suffix = .ftl
- office.home = ${KK_OFFICE_HOME:default}
- office.plugin.server.ports = 2001,2002
- office.plugin.task.timeout = 5m
- office.pagerange = ${KK_OFFICE_PAGERANGE:false}
- office.watermark = ${KK_OFFICE_WATERMARK:false}
- office.quality = ${KK_OFFICE_QUALITY:80}
- office.maximageresolution = ${KK_OFFICE_MAXIMAGERESOLUTION:150}
- office.exportbookmarks = ${KK_OFFICE_EXPORTBOOKMARKS:true}
- office.exportnotes = ${KK_OFFICE_EXPORTNOTES:true}
- office.documentopenpasswords = ${KK_OFFICE_DOCUMENTOPENPASSWORD:true}
- office.type.web = ${KK_OFFICE_TYPE_WEB:web}
- file.dir = ${KK_FILE_DIR:default}
- local.preview.dir = ${KK_LOCAL_PREVIEW_DIR:default}
- cache.enabled = ${KK_CACHE_ENABLED:true}
- cache.type = ${KK_CACHE_TYPE:jdk}
- spring.redisson.address = ${KK_SPRING_REDISSON_ADDRESS:127.0.0.1:6379}
- spring.redisson.password = ${KK_SPRING_REDISSON_PASSWORD:}
- cache.clean.enabled = ${KK_CACHE_CLEAN_ENABLED:true}
- cache.clean.cron = ${KK_CACHE_CLEAN_CRON:0 0 3 * * ?}
- base.url = ${KK_BASE_URL:default}
- trust.host = ${KK_TRUST_HOST:default}
- simText = ${KK_SIMTEXT:txt,html,htm,asp,jsp,xml,json,properties,md,gitignore,log,java,py,c,cpp,sql,sh,bat,m,bas,prg,cmd}
- ftp.username = ${KK_FTP_USERNAME:ftpuser}
- ftp.password = ${KK_FTP_PASSWORD:123456}
- ftp.control.encoding = ${KK_FTP_CONTROL_ENCODING:UTF-8}
- media = ${KK_MEDIA:mp3,wav,mp4,flv,mpd,m3u8,ts,mpeg,m4a}
- media.convert.disable = ${KK_MEDIA_CONVERT_DISABLE:false}
- convertMedias = ${KK_CONVERTMEDIAS:avi,mov,wmv,mkv,3gp,rm}
- pdf2jpg.dpi = ${KK_PDF2JPG_DPI:144}
- pdf.presentationMode.disable = ${KK_PDF_PRESENTATION_MODE_DISABLE:true}
- pdf.openFile.disable = ${KK_PDF_OPEN_FILE_DISABLE:true}
- pdf.print.disable = ${KK_PDF_PRINT_DISABLE:true}
- pdf.download.disable = ${KK_PDF_DOWNLOAD_DISABLE:true}
- pdf.bookmark.disable = ${KK_PDF_BOOKMARK_DISABLE:true}
- pdf.disable.editing = ${KK_PDF_DISABLE_EDITING:false}
- office.preview.type = ${KK_OFFICE_PREVIEW_TYPE:pdf}
- office.preview.switch.disabled = ${KK_OFFICE_PREVIEW_SWITCH_DISABLED:true}
- watermark.txt = ${WATERMARK_TXT:}
- watermark.x.space = ${WATERMARK_X_SPACE:10}
- watermark.y.space = ${WATERMARK_Y_SPACE:10}
- watermark.font = ${WATERMARK_FONT:微软雅黑}
- watermark.fontsize = ${WATERMARK_FONTSIZE:18px}
- watermark.color = ${WATERMARK_COLOR:black}
- watermark.alpha = ${WATERMARK_ALPHA:0.2}
- watermark.width = ${WATERMARK_WIDTH:180}
- watermark.height = ${WATERMARK_HEIGHT:80}
- watermark.angle = ${WATERMARK_ANGLE:10}
- file.upload.disable = ${KK_FILE_UPLOAD_ENABLED:false}
- beian = ${KK_BEIAN:default}
- prohibit = ${KK_PROHIBIT:exe,dll,dat}
- delete.captcha= ${KK_DELETE_CAPTCHA:false}
- delete.password = ${KK_DELETE_PASSWORD:123456}
- delete.source.file = ${KK_DELETE_SOURCE_FILE:true}
- home.pagenumber = ${DEFAULT_HOME_PAGENUMBER:1}
- home.pagination = ${DEFAULT_HOME_PAGINATION:true}
- home.pagesize = ${DEFAULT_HOME_PAGSIZE:15}
- home.search = ${DEFAULT_HOME_SEARCH:true}
- tif.preview.type = ${KK_TIF_PREVIEW_TYPE:tif}
- cad.preview.type = ${KK_CAD_PREVIEW_TYPE:svg}
- cad.timeout =${KK_CAD_TIMEOUT:90}
- cad.thread =${KK_CAD_THREAD:5}
|