nginx
zhaoyc1946
java程序猿
展开
-
nginx安装及设置
官方网站:http://nginx.org/ 安装环境要求 nginx是C语言开发,建议在linux上运行,本教程使用Centos6.4作为安装环境。 gcc 安装nginx需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc:yum install gcc-c++ PCRE PCRE(Perl Compatible Regul...原创 2018-07-31 09:58:49 · 139 阅读 · 0 评论 -
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/nginx.pid; events { worker_connections 1...原创 2018-08-09 16:15:15 · 311 阅读 · 0 评论