server {
    listen 80;
    listen [::]:80;
    server_name hw.thehack.org.cn;

    return 302 https://www.yuque.com/docs/share/5bc892c9-6fab-406e-876c-b490272be6a2;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name hw.thehack.org.cn;

    # ssl settings and certificates
    include ssl/ssl.nginxconf;

    return 302 https://www.yuque.com/docs/share/5bc892c9-6fab-406e-876c-b490272be6a2;
}
