使用Nginx实现二级域名
二级域名可以充分利用起自己的域名资源
12345678910111213141516
vim /etc/nginx/sites-available/defalutserver { listen 80; listen [::]:80; server_name blog.qshijun.club; root /var/www/example.com; index index.html index.htm; location / { #try_files $uri $uri/ =404; proxy_pass https://qiushijun.github.io; }}