安装nginx和php sudo apt install nginx php-fpm php --version #测试是否安装成功 在目录下下载speedtest speedtest地址 https://github.com/adolfintel/speedtest cd /var/www/ git clone https://github.com/adolfintel/speedtest 配置nginx的设置,这里我没有动nginx.conf , 而是修改的/etc/nginx/sites-enabled/default 文件 server { listen 80 default_server; listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: https://bugs.debian.org/773332 # # Read up on ssl_ciphers to ensure a secure configuration. # See: https://bugs.……

阅读全文