
nginx
文章平均质量分 63
iteye_21194
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Nginx安装
1.下载源码: 下载地址:http://nginx.org/en/download.html 选择相应的版本如:nginx-1.8.0.tar.gz 2.上传到linux服务器指定目录3.telnet 或 ssh 至服务器,解压源文件 tar -xzvf nginx-1.8.0.tar.gz 解压后,当前目录生成nginx-1.8.0目录4.配置...原创 2015-07-29 18:00:44 · 97 阅读 · 0 评论 -
Nginx 配置日志打印--HTTP报文
http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $bo...原创 2015-10-16 16:46:40 · 5142 阅读 · 0 评论 -
nginx 配置
nginx1.8.0 配置文件示例: user 当前用户;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;...原创 2015-12-01 15:05:59 · 106 阅读 · 0 评论 -
Starting, Stopping, and Restarting NGINX
Starting, Stopping, and Restarting NGINX¶https://www.nginx.com/resources/wiki/start/topics/tutorials/commandline/This page shows you how to start NGINX, and once it’s running, how to contro...原创 2016-11-28 14:01:34 · 263 阅读 · 0 评论 -
NGINX tcp 反向代理
https://nginx.org/en/docs/stream/ngx_stream_core_module.htmlModule ngx_stream_core_moduleExample ConfigurationDirectives listen preread_buffer_size preread_timeout proxy_protoco...原创 2016-11-28 16:30:37 · 265 阅读 · 0 评论 -
Nginx配置示例
nginx-8080.conf:#user nobody;#工作线程数 一般与逻辑CUP个数一至worker_processes 8;error_log /home/yanlei/logs/nginx-8080.log;#error_log logs/error.log;#error_log logs/error.log notice;#err...原创 2016-12-06 18:59:50 · 126 阅读 · 0 评论 -
Nginx配置文件nginx.conf中文详解(转)
转自:http://www.ha97.com/5194.html #定义Nginx运行的用户和用户组user www www;#nginx进程数,建议设置为等于CPU总核心数。worker_processes 8;#全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]error_log /v...原创 2016-12-22 15:03:27 · 131 阅读 · 0 评论 -
Nginx禁止访问特定url
Nginx 配置文件中增加:location = /path/ { return 404; }原创 2016-12-26 08:53:47 · 9365 阅读 · 0 评论 -
ningx 响应内容替换
见官方文档:http://nginx.org/en/docs/http/ngx_http_sub_module.html The ngx_http_sub_module module is a filter that modifies a response by replacing one specified string by another.This module is n...原创 2017-03-01 13:48:20 · 178 阅读 · 0 评论