随笔分类 - nginx+tomcat
摘要:meta标签处理http、https跨域 <!-- 将http请求转成https请求 --> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 参考:https://blog.csdn.ne
阅读全文
摘要:kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/rewrite-target: http://www.oneway.cn 后面没有分号。 参考:https://blog.csdn.net/qingyafan/article
阅读全文
摘要:0. 性能分析之一个简单 Java 线程 dump 分析示例 - 掘金 (juejin.cn) 1.top -c 2.查看具体线程 ps -m -p 30997 -o tid,%cpu,%mem > threads.log 3.printf %x 31865 其次将需要的线程ID转换为16进制格式:
阅读全文
摘要:https://www.cnblogs.com/zengkefu/p/5602473.html最大文件描述符 https://blog.csdn.net/fanren224/article/details/79971359 https://www.cnblogs.com/ruiy/p/1076100
阅读全文
摘要:cat nginx.conf worker_processes auto;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; log_format ma
阅读全文
摘要:基本架构: nginx(192.168.116.198) client >keepalived(116.200) > tomcat (192.168.116.101,192.168.116.100) nginx(192.168.116.199) keepalived的配置文件/etc/keepali
阅读全文