51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

云服务器

[重写]whmcs nginx rewrite规则

[重写]whmcs nginx rewrite规则

厉飞雨 阅读(465) 评论(0) 赞(20)

<p>之前发的太拉胯了, 重新写了一份.</p> <p><img src="http://static.51tbox.com/static/2024-08-29/col/cb3aec3c8f6bc18df92e5f39fb7bb86d/4b24476e84764cd3add42cb683fc9965.png.jpg"...

nginx 403 总结

nginx 403 总结

厉飞雨 阅读(2722) 评论(0) 赞(28)

<p>nginx 403 错误表示服务器拒绝了客户端的请求,<strong>表明客户端无权访问所请求的资源</strong>。</p> <p>导致此错误的原因有多种,以下列出了一些常见原因和解决方法:</p> <ol> <li>文件权限问题</li> </ol>...

nginx 安装(docker版)

nginx 安装(docker版)

厉飞雨 阅读(385) 评论(0) 赞(16)

<p><a href="https://www.zhihu.com/question/497914242/answer/2984936068">(3 封私信 / 7 条消息) 如何使用docker部署nginx? - 知乎 (zhihu.com)</a></p> <p>1-先通过创建一个临时容器 n...

nginx proxy_pass 502 559 selinux

nginx proxy_pass 502 559 selinux

厉飞雨 阅读(321) 评论(0) 赞(15)

<p>测试环境上, 配置文件 nginx 一模一样, 在生产上就出502 。</p> <p>我今天在一台新的liunx上运行nginx来进行反向代理时候,发现怎么测都是502</p> <p><img src="http://static.51tbox.com/static/2024-08-29/col/...

node dockerfile (nginx)

node dockerfile (nginx)

厉飞雨 阅读(343) 评论(0) 赞(18)

<p>node dockerfile</p> <pre><code>FROM nginx #将dist目录内容复制到nginx容器html内部 COPY dist /usr/share/nginx/html/ EXPOSE 80 </code></pre> <p>springboot doc...

logstash 解析nginx日志

logstash 解析nginx日志

厉飞雨 阅读(373) 评论(0) 赞(22)

<p>logstash 启动慢,有的需要等1分钟左右。 filebeats 就很快</p> <p>记录读取文件:</p> <pre><code>/usr/share/logstash/data/plugins/inputs/file </code></pre> <h2>1...

nginx 命令( windows)

nginx 命令( windows)

厉飞雨 阅读(427) 评论(0) 赞(18)

<p>nginx在windows环境下的基本命令</p> <p>1.cmd进入nginx文件夹</p> <p>2.启动命令</p> <pre><code>start nginx </code></pre> <p>或者</p> <p...

nginx $request_time

nginx $request_time

厉飞雨 阅读(445) 评论(0) 赞(21)

nginx $request_time [Nginx - request_time和upstream_response_time详解-CSDN博客](https://blog.csdn.net/zzhongcy/article/details/105819628) request_time 指的就是**从接受用户请求的第一个字节到发送完响应数据的时间**,即$request...

nginx root alias proxy_pass的区别

nginx root alias proxy_pass的区别

厉飞雨 阅读(363) 评论(0) 赞(18)

nginx root alias proxy_pass的区别 **1、alias 路径匹配时,不会自动带上location uri部分,且alias后要加上"/"结尾** **2、root 路径匹配时,会自动带上location URI部分 即,root时,匹配的location URI结果 为真实路径的一部分, 而alias则无此限制** 怎么理解呢...