摘要:nginx 的config配置:server{ listen 80; server_name xxx; ....if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; } location ~ \.php { set $real_script_name $fastcgi_script_name; set $path_info ""; include fastcgi_par...
阅读全文
摘要:安装make:yum -y install gcc automake autoconf libtool make安装g++:yum install gcc gcc-c++下面正式开始-----------------------------------------------------------...
阅读全文
摘要:先下载Nginx_concat_module,下载后把它放在/usr/local/src/文件夹中,新建文件夹nginx-http-concat把下载的config ngx_http_concat_module.c放到其中,到时候nginx需要指定该目录查看nginx之前的配置/usr/local/nginx/nginx -Vnginx version: nginx/1.2.8built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) TLS SNI support enabledconfigure arguments: --sbin-path=/u
阅读全文