文章分类 -  Nginx

docker 构建 nginx
摘要:# 生成容器docker run --name nginx -p 9001:80 -d nginx# 将容器nginx.conf文件复制到宿主机docker cp nginx:/etc/nginx/nginx.conf /home/admin1/yyx/nginx/conf/nginx.conf# 阅读全文

posted @ 2023-09-17 00:12 是水饺不是水饺 阅读(20) 评论(0) 推荐(0) 编辑

一文搞懂 Nginx_玩转nginx
摘要: 阅读全文

posted @ 2023-09-10 11:37 是水饺不是水饺 阅读(4) 评论(0) 推荐(0) 编辑

一文搞懂nginx
摘要:一文搞懂nginx (taodudu.cc) 阅读全文

posted @ 2023-09-07 09:06 是水饺不是水饺 阅读(5) 评论(0) 推荐(0) 编辑

【Nginx】location中的root、proxy_pass和alias
摘要:前言root、proxy_pass和alias都是用来配置Nginx服务器上的URL重写的指令 1、指令1.1 root指令root:用于指定文件系统中某个目录作为请求的根目录,Nginx会在该目录下寻找请求的文件。例如: location /images/ { root /var/www;}上述配 阅读全文

posted @ 2023-09-05 11:44 是水饺不是水饺 阅读(807) 评论(0) 推荐(0) 编辑

.net core nginx (三) nginx 缓存
摘要:NGINX 内容缓存 |NGINX 文档 阅读全文

posted @ 2023-06-18 19:29 是水饺不是水饺 阅读(9) 评论(0) 推荐(0) 编辑

.net core nginx (二) 负载均衡配置
摘要:nginx 官网 文档 创建 NGINX Plus 和 NGINX 配置文件 |NGINX 文档 HTTP 负载平衡 |NGINX 文档 控制 NGINX 要重新加载配置,您可以停止或重新启动 NGINX,或将信号发送到主进程。可以通过运行带有参数的命令(调用 NGINX 可执行文件)来发送信号。n 阅读全文

posted @ 2023-06-18 16:20 是水饺不是水饺 阅读(119) 评论(0) 推荐(0) 编辑

.net core nginx(一) windows下nginx
摘要:官网下载 nginx: download 修改配置 修改端口号 8444 windows 下启动命令 文件夹 下 start nginx 看见这个 页面就说明成功了 再次修改 端口号8555 重新加载 nginx -s reload 成功修改 阅读全文

posted @ 2023-06-18 12:06 是水饺不是水饺 阅读(63) 评论(0) 推荐(0) 编辑

Nginx windows 端 命令
摘要:开启 start nginx 重载 nginx -s reload 停止 nginx -s stop 阅读全文

posted @ 2023-01-27 23:41 是水饺不是水饺 阅读(24) 评论(0) 推荐(0) 编辑

nginx通配符
摘要:例如 静态文件配置 是通过正则匹配 location ~ .(ico|js|css|png|jpg|mp4)$ { root D:/wwwroot; } 1、Nginx路径匹配符号 = 表示精确匹配 ^~ 表示uri以某个常规字符串开头,大多情况下用来匹配url路径,nginx不对url做编码,因此 阅读全文

posted @ 2023-01-27 23:38 是水饺不是水饺 阅读(676) 评论(0) 推荐(0) 编辑

Nginx 配置
摘要:#user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; event 阅读全文

posted @ 2023-01-27 23:34 是水饺不是水饺 阅读(44) 评论(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
点击右上角即可分享
微信分享提示