
Nginx
文章平均质量分 63
SimbaYu7
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Nginx的页面乱码解决方法
在server段里加以下两行 default_type 'text/html'; charset utf-8; 然后重启就行了 sudo nginx -s reload转载 2011-10-23 02:18:03 · 10684 阅读 · 0 评论 -
Nginx 配置虚拟主机
原文出处:http://blog.chenlb.com/2010/01/nginx-conf-virtual-hosts.html Vps 上安装了 nginx。用多个子域名,每个子域名到不同的目录。 如: http { server { listen 80; server_name a.chenlb.co转载 2011-11-01 09:28:17 · 866 阅读 · 0 评论 -
php/nginx重启命令
源码安装nginx就面临这样的麻烦,不能使用service nginx restart 来重启nginx,没办法只能重新加载下nginx. [root@localhost ~]#/usr/local/nginx/sbin/nginx -s reload 修改php设置后你需要重启php才能生效,另外定期重启php会释放所消耗的内存 kill -SIGINT `cat /u转载 2011-12-31 16:47:07 · 2083 阅读 · 2 评论 -
Nginx + PHP 搭建高性能web服务器
写在前面: 1. Issue: *** 'libmcrypt-config --version' returned 2.4.0, but LIBMCRYPT (2.5.8) *** was found! If libmcrypt-config was correct, then it is best *** to remove the old version of LIB转载 2011-10-18 22:19:22 · 1508 阅读 · 0 评论 -
Nginx安装BugFree后/site/login 不能访问的问题解决方法--Nginx启用rewrite
server { ... location / { #启用rewrite if (!-e $request_filename) { rewrite ^([_0-9a-zA-Z-]+)?(/wp-.*) $2 last; rewrite ^([_0-9a-zA-Z-]+)?(/.*\.php)$ $2 last原创 2012-02-27 18:42:14 · 2775 阅读 · 0 评论 -
Ubuntu 10.04 + mysql + Nginx 安装与集成 Redmine 1.4
一、安装 mysql simba@simba-laptop:~$ sudo apt-get install mysql-server libmysqlclient-dev 二、安装 nginx(安装步骤进行至passenger nginx 模块时,发现可以先不着急安装nginx,彼时一起安装) simba@simba-laptop:~$ sudo apt-get install n原创 2012-08-17 08:16:04 · 1670 阅读 · 0 评论 -
nginx+php5-fpm在ubuntu10.04中的安装配置方法
自从前不久在电信通机房放置了一台新服务器之后,我就开始尝试完全用nginx来部署http服务。 nginx与php有两种主流的配合方式,spawn-fcgi和php-fpm。 spawn-fcgi完全独立运行,可以和各种cgi语言配合; php-fpm专为php而设计,需要对php打补丁。 性能上php-fpm略占上风,功能上php-fpm也略强一些,毕竟它是专门为php而生的嘛转载 2012-08-25 18:51:26 · 1416 阅读 · 0 评论 -
Ubuntu Nginx 搭建 Gitweb服务器
一、原因 喜欢Nginx 喜欢Git 喜欢Ubuntu 快速安装、方便使用、快乐生活 贰、安装Nginx 和 Gitweb simba@simba-laptop:~$ sudo apt-get install nginx gitweb 三、修改Gitweb配置文件 simba@simba-laptop:~/git-repo$ vim /etc/原创 2013-04-20 14:58:23 · 3978 阅读 · 0 评论 -
让Nginx支持CGI
原理: Nginx默认不支持CGI,但是支持FastCGI,所以可以用FastCGI替代CGI。 准备条件: 1、安装perl:略 2、 安装FCGI-ProcManage simba@simba-laptop:~/tmp$ wget http://search.cpan.org/CPAN/authors/id/G/GB/GBJK/FC原创 2013-04-20 13:53:03 · 10239 阅读 · 0 评论