Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
horaoen committed Nov 29, 2024
1 parent 2cf6295 commit 9af19b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/posts/dm-migrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ date = "2024-10-28"
# 数据迁移
1. [迁移问题](https://eco.dameng.com/document/dm/zh-cn/faq/faq-mysql-dm8-migrate.html)
2. [迁移步骤](https://eco.dameng.com/document/dm/zh-cn/start/tool-dm-migrate)

3. source -> start
# 数据校验
## 比对索引
1. mysql
Expand Down
3 changes: 3 additions & 0 deletions content/posts/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ date = "2024-10-15"
```sh
free -h
df -h
# 压缩
tar -cvf target_name file_name
tar -xvf target_name file_name
```
10 changes: 9 additions & 1 deletion content/posts/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ server {
log_not_found off;
}
add_header Content-Security-Policy
"default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self' *;";
Expand All @@ -33,4 +32,13 @@ server {

```conf
nginx -s reload
```

### history模式路由访问不到
```conf
location / {
...
try_files $uri $uri/ /index.html;
...
}
```

0 comments on commit 9af19b2

Please sign in to comment.