摘要:
1.常见默认nginx.conf配置日志格式 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_use 阅读全文
posted @ 2019-08-22 08:34
善战者求之于势
阅读(9876)
评论(0)
推荐(0)
摘要:
1.携带目录调转到后端,后端无目录,location配置如下 例子: i2.jusdacfj.com/ideas_edi/——10.0.2.137:7040/10.0.2.138:7040 location ^~/ideas_edi/ { ##携带"/" proxy_pass http://edi1 阅读全文
posted @ 2019-08-22 08:31
善战者求之于势
阅读(519)
评论(0)
推荐(0)
摘要:
1.需要安装stream模块2.在nginx.conf默认配置文件添加如下配置即可stream { log_format tcp '$remote_addr [$time_local] ' '$protocol $status $bytes_sent $bytes_received ' '$sess 阅读全文
posted @ 2019-08-22 08:22
善战者求之于势
阅读(616)
评论(0)
推荐(0)

浙公网安备 33010602011771号