Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
智布道
OneBlog
提交
b995561e
O
OneBlog
项目概览
智布道
/
OneBlog
大约 1 年 前同步成功
通知
11
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OneBlog
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
b995561e
编写于
9月 12, 2018
作者:
智布道
👁
提交者:
GitHub
9月 12, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Delete application-prod.yml
1. 博客迁移功能,支持cnblogs 2. 博客迁移功能新增图片转存功能
上级
ebdafa62
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
0 addition
and
50 deletion
+0
-50
blog-admin/src/main/resources/application-prod.yml
blog-admin/src/main/resources/application-prod.yml
+0
-50
未找到文件。
blog-admin/src/main/resources/application-prod.yml
已删除
100644 → 0
浏览文件 @
ebdafa62
# Server settings
server
:
tomcat
:
basedir
:
/var/tmp/website-blog-admin
# SPRING PROFILES
spring
:
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://localhost:3306/dblog?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true
username
:
root
password
:
root
# 指定默认MimeMessage的编码,默认为: UTF-8
mail
:
default-encoding
:
UTF-8
# 指定SMTP server使用的协议,默认为: smtp
protocol
:
smtp
# 指定SMTP server host.
host
:
xxx
port
:
465
# 指定SMTP server的用户名.
username
:
xxx
# 指定SMTP server登陆密码:
password
:
xxx
# 指定是否在启动时测试邮件服务器连接,默认为false
test-connection
:
false
properties
:
mail.smtp.auth
:
true
# 腾讯企业邮箱 下两个配置必须!!!
mail.smtp.ssl.enable
:
true
mail.smtp.socketFactory.class
:
javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.port
:
465
mail.smtp.starttls.enable
:
true
mail.smtp.starttls.required
:
true
mail.smtp.connectiontimeout
:
50000
mail.smtp.timeout
:
30000
mail.smtp.writetimeout
:
50000
# logging settings
logging
:
path
:
/var/tmp/website-blog-admin
####################################自定义配置##########################################
app
:
# 是否启用kaptcha验证码
enableKaptcha
:
false
# shiro配置项
shiro
:
loginUrl
:
"
/passport/login/"
successUrl
:
"
/"
unauthorizedUrl
:
"
/error/403"
####################################自定义配置##########################################
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录