良辰 发布的文章

国内一般都用centos7.6,国外用Ubuntu,因为下载速度,习惯的原因,默认这样。

2025更新年最新方法:
CentOS + Nginx 自动续期SLL
https://xigk.com/blog/index.php/archives/1557/

2020年写的:
Let’s Encrypt:https://letsencrypt.org/
Let’s Encrypt is a free, automated, and open Certificate Authority.
key:wss,https,ssl

第一种方法

用 acme.sh申请来自动续期ssl证书
acme说明:https://github.com/Neilpang/acme.sh/wiki/说明
https://www.cnblogs.com/esofar/p/9291685.html

- 阅读剩余部分 -

H5发布,html判断是手机还是pc浏览器

<script type="text/javascript">
    try {
        if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
            window.location.href = "./1";
        } else {
            window.location.href = "./2";
        }
    } catch (e) {}
</script>

跟着游戏来,登录,出生点跑地图,打怪,升装备。能做出这些就差不多了,多了也做不出来。
做完上面3,4个系统就差不多能多人玩了。