fix: replace real public IP with x.x.x.x

This commit is contained in:
luochen570
2026-05-24 10:53:51 +08:00
parent dd3dbe8323
commit 3f6a64a1a2

View File

@@ -94,7 +94,7 @@ ls public/posts/<slug>/
```bash ```bash
cd ~/hugo-blog cd ~/hugo-blog
tar czf - public/ | ssh.exe root@152.32.213.27 \ tar czf - public/ | ssh.exe root@x.x.x.x \
"rm -rf /www/hugo.luochen570.cn/*; \ "rm -rf /www/hugo.luochen570.cn/*; \
tar xzf - -C /www/hugo.luochen570.cn --strip-components=1; \ tar xzf - -C /www/hugo.luochen570.cn --strip-components=1; \
chown -R root:root /www/hugo.luochen570.cn/" chown -R root:root /www/hugo.luochen570.cn/"
@@ -133,6 +133,6 @@ git submodule update --remote themes/PaperMod
- 线上博客https://hugo.luochen570.cn - 线上博客https://hugo.luochen570.cn
- 源码仓库:`git@git.luochen570.cn:luochen570/hugo-blog.git` - 源码仓库:`git@git.luochen570.cn:luochen570/hugo-blog.git`
- 部署服务器UC152.32.213.27 - 部署服务器UC公有云
- Caddy 配置:`/etc/caddy/Caddyfile`(服务器端) - Caddy 配置:`/etc/caddy/Caddyfile`(服务器端)
- PaperMod 主题https://github.com/adityatelange/hugo-PaperMod - PaperMod 主题https://github.com/adityatelange/hugo-PaperMod