---
# System prepended metadata

title: '[域名] 各種域名跳轉處理'
tags: [域名跳轉]

---

# [域名] 各種域名跳轉處理
###### tags: `域名跳轉` 

## :triangular_flag_on_post: Nginx跳轉方式

:::success
#指定域名跳轉用if
if ($host ~* '1368565.biz' ) {
rewrite ^/(.*)$ https://1368565.biz/$1 permanent;
}
:::

:::success
#整個配都跳轉同個域名
rewrite ^/(.*)$ https://1368565.biz/$1 permanent;

:::
:::success
return 301 $scheme://www.ok3800.com/r/6800$request_uri; 
:::
## :triangular_flag_on_post: Cloudflare跳轉方式
![](https://i.imgur.com/iS6peol.png)
![](https://i.imgur.com/NCtp0zL.png)


## :triangular_flag_on_post: 灰域跳轉方式(商業CDN)
![](https://i.imgur.com/gaXBYcJ.png)

## :triangular_flag_on_post: 騰雲跳轉方式(商業CDN)
![](https://i.imgur.com/Ro6S0DG.png)
