摘要: Nginx write重写 参考文章: https://zhuanlan.zhihu.com/p/629012092 例子:rewrite ^(.*) https://www.bbb.com$1; 解释:匹配任意字符开头的**路径**,注意是路径,然后.*是将路径后的值作为变量让$1调用 用户访问的 阅读全文
posted @ 2025-05-19 20:02 wewnehwhe 阅读(8) 评论(0) 推荐(0)
摘要: 什么是LNMP 参考:https://zhuanlan.zhihu.com/p/669098739 LNMP:Linux,Nginx,Mysql,PHP组合的网站服务器架构 LNMP配置conf: 访问PHP页面: PHP连MySQL网页: PHP连MySQL效果: FastCGI CGI(Como 阅读全文
posted @ 2025-05-19 18:55 wewnehwhe 阅读(22) 评论(0) 推荐(0)
摘要: https配置步骤 1.生成密钥文件:使用命令:openssl genrsa -idea -out server.key 2048 创建密钥文件,设置密码为1234 生成的密钥文件内部: 2.⽣成使⽤签名请求证书和私钥⽣成⾃签证书:使用命令:penssl req -days 36500 -x509 阅读全文
posted @ 2025-05-19 16:13 wewnehwhe 阅读(12) 评论(0) 推荐(0)