摘要:
日志格式 日志内容 192.168.199.164 – jeson [14/Apr/2018:07:17:09 +0800] “GET /?feed=rss2 HTTP/1.1” 200 13883 “http://knowledge.me/” “Mozilla/5.0 (Windows NT 6. 阅读全文
posted @ 2018-08-06 21:13
薄荷冰
阅读(1015)
评论(0)
推荐(0)
摘要:
Nginx – rewrite 配置 URL重写 官网:http://nginx.org/en/docs/http/ngx_http_rewrite_module.html 语法:rewrite regex replacement [flag]; 应用位置:server,location,if 功能 阅读全文
posted @ 2018-08-06 21:09
薄荷冰
阅读(4599)
评论(0)
推荐(0)
摘要:
[root@ke]# nginx -h #this help [root@ke]# nginx -t #检查配置文件的语法 [root@ke]# nginx -T #检查配置文件的语法并输出 [root@ke]# nginx -s stop(快速关闭nginx) | quit(停止新连接,完成旧连接 阅读全文
posted @ 2018-08-06 21:02
薄荷冰
阅读(316)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-08-06 21:01
薄荷冰
阅读(454)
评论(0)
推荐(0)
摘要:
1、配置文件设置: 2、生成用户名及密码 阅读全文
posted @ 2018-08-06 20:45
薄荷冰
阅读(181)
评论(0)
推荐(0)
摘要:
语法:location [ = | ~ | ~* | ^~ ] uri { …一组命令… } http://nginx.org/en/docs/http/ngx_http_core_module.html#location location / {}:表示对/uri/目录及其子目录下的所有文件都匹配 阅读全文
posted @ 2018-08-06 20:39
薄荷冰
阅读(253)
评论(0)
推荐(0)
浙公网安备 33010602011771号