G
N
I
D
A
O
L
W
e
l
c
o
m
e
: )
该文被密码保护。 阅读全文
posted @ 2019-10-02 22:44 狸猫大侠 阅读(1) 评论(0) 推荐(0) 编辑
摘要: user www www; #指定nginx用户 worker_processes 8; #nginx可以创建的工作进程 worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 100000 阅读全文
posted @ 2019-10-02 22:43 狸猫大侠 阅读(82) 评论(0) 推荐(0) 编辑
摘要: nginx服务常用的变量 nginx日志变量 说明 $remote_addr 记录访问网站的客户端地址 $http_x_forwarded_for 当前端有代理服务器是,设置web节点记录客户端IP地址,前提是代理端也需要配置这个参数 $remote_user 远程客户端用户名称 $time_loc 阅读全文
posted @ 2019-10-02 16:46 狸猫大侠 阅读(208) 评论(0) 推荐(0) 编辑