
nginx
Nginx (engine x) 是一个高性能的HTTP和反向代理web服务器,同时也提供了IMAP/POP3/SMTP服务。
盖了帽
这个作者很懒,什么都没留下…
展开
-
Nginx搭建静态WEB服务器
在搭建之前,我们先学习一下,两个指令 root 和 alias 。比如,主机是 www.gosuncn.funlocation /i/ { root /data/w3;},那么 我们的请求是 http://www.gosuncn.fun/i/top.gif,服务器会如何寻找文件呢?服务器会把root后的值 /data/w3 和 URI 的值 /i/top.gif 直接拼接。文件/data/w3/i/top.gif将会返回给你。那么,alias呢?比如,主机是 www.gosun原创 2020-11-24 11:25:36 · 439 阅读 · 0 评论 -
Nginx简单命令以及重载、热部署、日志切割
http://nginx.org/en/docs/beginners_guide.htmlThis guide gives a basic introduction to nginx and describes some simple tasks that can be done with it. It is supposed that nginx is already installed on the reader’s machine. If it is not, see the Installing.原创 2020-11-24 09:46:23 · 323 阅读 · 0 评论 -
Nginx基础语法配置规则
当配置的参数以时间为单位时,单位参考当配置的参数以字节为单位时,单位参考详情参考视频视频地址原创 2020-11-24 00:16:01 · 187 阅读 · 0 评论 -
编译Nginx安装手册
从官网下载nginx源码包 官网地址:[http://nginx.org/en/download.html]解压后可以看到目录结构在contrib目录中cat READMEvim by Evan Miller Syntax highlighting of nginx configuration for vim, to be placed into ~/.vim/.这个工具非常有用,它可以在用户使用vim编辑nignx.conf配置文件的时候,语法高亮显示。用法很简单,将contri原创 2020-11-23 23:58:42 · 194 阅读 · 0 评论