基于Nginx开发Web服务器系列
基于Nginx开发Web服务器。
内容包含:
nginx的配置;
nginx通过fastcgi连接php-fpm;
nginx通过grpc_pass连接grpc server;
nginx反向代理其他http服务;
nginx的负载均衡等功能。
InterestingFigure
Salted fish in hand, I have the world.
展开
-
1.nginx在centos7中的安装
http://nginx.org/en/download.html 腾讯云证书申请地址 https://console.cloud.tencent.com/ssl 在阿里云搞了个服务器, 然后搞了个域名www.sweetkite.com 然后申请了个免费的ssl证书 等审核通过下载下来,里面有Nginx目录,这里面的证书就可以使用。 把Nginx目录拷贝到nginx的conf下 /usr/lo...原创 2019-08-14 16:06:31 · 154 阅读 · 0 评论 -
2.centos7安装php7
安装php7 cd /usr/local/src wget https://www.php.net/distributions/php-7.3.8.tar.gz tar zxvf php-7.3.8.tar.gz mv php-7.3.8 ../ cd /usr/local/php-7.3.8 yum -y install openssl-devel libcurl-devel libjpeg...原创 2019-08-14 16:25:02 · 136 阅读 · 0 评论