The author went to Shenzhen for a vacation and played Genshin Impact and Honkai Star Rail. They decided to revamp their server and mx-space setup, taking advantage of Innei's new theme, Shiro. They switched the server operating system to Debian 12 and replaced the control panel from BaoTa to 1Panel, which is better suited for Docker. They noted some limitations with 1Panel, such as being unable to switch Nginx versions and lacking certain features like QUIC and Brotli. The Shiro theme requires Vercel for deployment, which the author found somewhat lacking in some design aspects but generally satisfactory. The process of writing this log spanned from July to August.
网站维护日志 | 2023-07
大鸽子摸完考试去深圳旅游了,天天沉迷崩 3 和星铁,到今日想了一下决定重整一下服务器和 mx-space( 正好 Innei 也出了个新主题 Shiro,于是,老年人回坑折腾去了......
tl;dr
更换服务器面板
宝塔这东西,不得不承认功能做得极其全面,作为一个商业化的面板,它做得挺不错的。但是吧,它不全开源,而且小动作极多,漏洞也挺多。正好 1Panel 这个面板最近火了一下,容器化特性做得非常好(指万物全用 Docker 开),于是重装了下服务器,换上了 1Panel(
看久了绿色的侧边栏,换成蓝色了一下子还有点不习惯(
1Panel 使用下来,大多数功能基本都全了,但也有些不太爽的地方。比如只能用 OpenResty 而不能切其他 Nginx 版本(众所周知,OpenResty 鸽了三个月没更新了,主线跟进任务从 1.22 到 1.23 再到现在的 1.25,现在立了 flag 说下半年一定出 1.25。截至本文发稿前,有个大佬直接在多个项目提 PR 直接帮他们整上 1.25 了),有点可惜,之前整的某些好活(比如 QUIC 和 Brotli)暂时整不了了(
估计等 1.25 出了之后还得尝试学习怎么加魔改(
向 Shiro 奔去
等到我升级 mx-space 的时候,看到了 Innei 的新主题 Shiro,当然也直接上手了一下。
Shiro 主题的部署需要依赖 Vercel(
实际上是没写 pm2),所以按着文档折腾了一下,用 Vercel 托管了前端。Shiro 本身还行,但是吧下面文章列表那里不够大气,文章页也不居中,有点小捞(但抛开这些问题来看 Shiro 也确实不错,还有那个进程监控也是个亮点(就是我不想折腾)
就这样吧,这日志从7月写到8月也是没谁了......