08 2023 档案

spring mvc 前端返回 js
摘要:@RequestMapping(value = "/test",produces = "text/html; charset=UTF-8")@ResponseBodypublic String test(){String url = "";return "<script>window.locatio 阅读全文

posted @ 2023-08-15 14:33 正义的伙伴! 阅读(36) 评论(0) 推荐(0) 编辑

openssl 生成证书
摘要:# 生成证书 1. - 2. 转换证书格式为 java 用 `openssl pkcs8 -topk8 -inform PEM -in private_key.pem -outform PEM -nocrypt` 3. 生成公钥 `openssl rsa -in private.key -pubou 阅读全文

posted @ 2023-08-14 10:44 正义的伙伴! 阅读(7) 评论(0) 推荐(0) 编辑

禁用通过域名直接访问页面
摘要:# nginx 禁用通过域名直接访问页面 参考 https://www.codedodle.com/disable-direct-ip-access-nginx.html ```conf server { listen 80 default_server; # 下面两行, 需要 按照 ssl_rej 阅读全文

posted @ 2023-08-08 12:47 正义的伙伴! 阅读(39) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示