Nginx
radzhang
这个作者很懒,什么都没留下…
展开
-
nginx下安装PHP发生问题的逐步解决
[root@iZ23e06nkpkZ php-5.6.20]# ./configure --enable-fpm --with-mysql configure: error: xml2-config not found. Please check your libxml2 installation. [root@iZ23e06nkpkZ php-5.6.20]# rpm -qa |grep...原创 2016-04-17 11:48:09 · 207 阅读 · 0 评论 -
Centos下yum安装nginx
To set up the yum repository for RHEL/CentOS, create the file named /etc/yum.repos.d/nginx.repo with the following contents: [nginx] name=nginx repo baseurl=http://nginx.org/packages/OS/OSRELEAS...原创 2016-04-07 01:26:28 · 168 阅读 · 0 评论 -
Nginx反向代理端口丢失问题
如果服务器使用的不是80端口的话,通过反向代理,会丢失端口,必须使用proxy_set_header Host $host:$server_port; server { listen 8069; server_name localhost; proxy_set_header X-Forwarded-Host $host; proxy...原创 2018-03-13 14:47:45 · 3383 阅读 · 4 评论