摘要: 用nginx做代理,conf.d下ssl.conf配置成https,wss在nginx.conf里http某块中配置 例代码如下: ssl.conf-->https index index.html index.php index.htm; } location ~ \.php(.*)$ { roo 阅读全文
posted @ 2017-08-18 01:45 叫我星宇 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: PHP5的CGI方式的一大优势是内置了FastCGI的支持,只需指明绑定的地址和端口参数便可以以FastCGI的方式运行,如下: php-cgi -b 127.0.0.1:9000 配置Nginx的PHP FastCGI 请将以下内容保存为fastcgi_params文件,保存于/usr/local 阅读全文
posted @ 2017-08-18 00:29 叫我星宇 阅读(2675) 评论(0) 推荐(0) 编辑
摘要: 在重新启动nginx时报socket错误请首先检查默认端口端口问题 nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) nginx配置腾讯云ssl证书实例 location ~ \ 阅读全文
posted @ 2017-08-18 00:22 叫我星宇 阅读(560) 评论(0) 推荐(0) 编辑