
nginx
文章平均质量分 58
个人学习分享
yohoo菜鸟
这世间难得是坚持
希望一切如约而至
展开
-
nginx基本配置
nginx.conf文件。原创 2024-05-12 23:04:31 · 140 阅读 · 0 评论 -
nginx编译参数
-with-http_random_index_module 允许ngx_http_random_index_module模块(mod_autoindex)--without-http_upstream_ip_hash_module 不使用ngx_http_upstream_ip_hash_module模块。--with-http_gzip_static_module 允许ngx_http_gzip_static_module模块(mod_dflate)原创 2024-05-12 22:38:16 · 900 阅读 · 0 评论 -
nginx的目录结构和作用
logs:记录入门的文件,当nginx服务器启动后,这里面会有 access.log error.log 和nginx.pid三个文件出现。mime.types:记录的是HTTP协议中的Content-Type的值和文件后缀名的对应关系。nginx.conf:这个是Nginx的核心配置文件,这个文件非常重要,也是我们即将要学习的重点。fastcgi.conf.default:fastcgi.conf的备份文件。nginx.conf.default:nginx.conf的备份文件。原创 2024-05-11 23:27:38 · 389 阅读 · 0 评论 -
nginx安装
rw-r--r--. 1 1001 1001 485035 10月 19 2022 CHANGES.ru。-rw-r--r--. 1 1001 1001 317399 10月 19 2022 CHANGES。-rw-r--r--. 1 1001 1001 1397 10月 19 2022 LICENSE。-rw-r--r--. 1 1001 1001 49 10月 19 2022 README。报错一是缺少C的编译环境。./nginx #启动。解决:安装pcre库。解决:安装zlib库。原创 2024-05-10 21:07:14 · 591 阅读 · 0 评论