java
weixin_39758190
这个作者很懒,什么都没留下…
展开
-
springBoot2x + security无权限自定义返回数据结构
1 Spring Boot 在有异常发生时或者请求了一个受保护的资源亦或者用户没有通过认证的时候,默认返回的 Json 数据结构如下 : (用 Postman 测试接口){“timestamp”: “2019-06-21 16:28:59”,“status”: 403,“error”: “Forbidden”,“message”: “Access Denied”,“path”: “/...原创 2019-06-21 17:06:01 · 2298 阅读 · 0 评论 -
在Linux环境下配置阿里云免费的SSL证书(根据Nginx实现)
1 nginx实现简单的ssl正式配置,实现hhtps2 nginx下载略过3 ssl证书准备**a 购买证书![在这里插入图片描述](https://img-blog.csdnimg.cn/20190621173656155.png?x-oss-process=image/watermark,type_ZmF购买证书uZ3poZW5naGVpdGk,shadow_10,text_aHR...原创 2019-06-21 17:52:43 · 787 阅读 · 0 评论