Author: qinggx

It

centos7配置https证书

nginx配置ssl证书Let’s Encrypt 1.Let’s Encrypt 如果要启用 HTTPS,我们需要一个 CA 证书,Let’s Encrypt 是一个免费的证书颁发机构,由 ISRG(Internet Security Research Group)运作。 2.使用 Certbot

qinggx qinggx Published on 2020-12-22

修改php上传文件大小限制

1.通过.htaccess修改限制 在网站根目录的 .htaccess 文件中添加如下代码。 php_value upload_max_filesize 64Mphp_value post_max_size 64Mphp_value max_execution_time 300php_value m

qinggx qinggx Published on 2020-12-21

nginx多站点配置

cd进入/usr/local/nginx/conf vim nginx.conf 在http模块添加如下代码 user www www; worker_processes auto; error_log /www/wwwlogs/nginx_error.log crit; pid

qinggx qinggx Published on 2020-12-20
Previous Next