#user nobody;worker_processes 4;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { ...
分类:
其他好文 时间:
2018-10-16 13:40:35
阅读次数:
147
#定义Nginx运行的用户和用户组user www www; #nginx进程数,建议设置为等于CPU总核心数。worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]error_log /var/ ...
分类:
其他好文 时间:
2018-10-15 18:15:16
阅读次数:
164
一个完整的nginx配置案例,生产环境一个完整配置例(生产环境中使用) user nobody nobody;worker_processes 4;worker_rlimit_nofile 51200; error_log logs/error.log notice; pid /var/run/ng ...
分类:
其他好文 时间:
2018-10-08 18:06:45
阅读次数:
305
文件:nginx.conf 内容: #user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/ ...
分类:
Web程序 时间:
2018-10-07 23:23:24
阅读次数:
323
先来看这道题: USACO 2011 Open Gold Mowing the Lawn 修剪草坪 After winning the annual town competition for best lawn a year ago, Farmer John has grown lazy; he h ...
分类:
其他好文 时间:
2018-10-05 21:56:06
阅读次数:
276
user www www;#指定nginx运行的用户及用户组,默认为nobodyworker_processes 8;#开启的线程数,一般跟逻辑CPU核数一致error_log /alidata/log/nginx/error.log crit; #定位全局错误日志文件,级别以notice显示,还有 ...
分类:
其他好文 时间:
2018-09-30 16:41:00
阅读次数:
225
XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then for each bit of C, we can get its val ...
分类:
其他好文 时间:
2018-09-29 23:54:44
阅读次数:
210
user nginx nginxnginx用户及组:用户 组worker_process 8;工作进程:数目.根据硬件调整,通常等于cpu数量或者2倍于cpu.error_log log/error.log;error_log logs/error.log notice;error_log logs ...
分类:
其他好文 时间:
2018-09-26 19:42:15
阅读次数:
174
#user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; event ...
分类:
Web程序 时间:
2018-09-23 18:09:48
阅读次数:
169
最近几天在配置K3cloud开发环境,发现不论是产品论坛还是百度出来的结果,都不够满意,很多大咖给提供的环境搭建手册都是那个云山雾罩的PPT 也就是这个open.kingdee.com/K3Cloud/WenKu/DocumentView.aspx?docId=109261 博主表示看完了只是理解了 ...
分类:
其他好文 时间:
2018-09-16 15:50:37
阅读次数:
230