分类
开发辅助

阿里云配置htts

申请免费证书

upstream svr9404 {
      server 127.0.0.1:9404;
}

server {
        listen       80;
        listen 443 ssl;
        server_name  kunwx.zanzhe580.com;
        location / {
            proxy_pass http://svr9404;
        }
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
        #ssl on;
        ssl_certificate   /etc/nginx/ssl/bbs.org/214493383960111.pem;
        ssl_certificate_key  /etc/nginx/ssl/bbs.org/214493383960111.key;
        ssl_session_timeout 5m;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
}

 

参考链接

分类
Php

php查看php.ini文件位置

运行

php -r "phpinfo();"

参考链接