自訂網域/Cloudflare

From Meta
Jump to navigation Jump to search
This page is a translated version of the page Custom domains/Cloudflare and the translation is 50% complete.
Outdated translations are marked like this.
Other languages:
English • ‎español • ‎français • ‎magyar • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎ • ‎中文(台灣)‎ • ‎日本語 • ‎한국어
管理後臺
後台的網域管理頁
您的網域設定應該看起來像這樣!

如果您的網域是由 Cloudflare 提供,當您要在 Miraheze 使用該網域時,切記要關閉 DDoS/Origin IP protection system With it, Miraheze cannot process SSL certification request and create problems with our internal systems.

Our IPs are already public so we do not need Origin IP protection, and we have DDoS protection through our network vendor.

In addition, we require that Cloudflare's proxy options and workers are disabled, as they can interfere with Miraheze's Content Security Policy (CSP). The CSP is designed to protect Miraheze wikis from malicious content that may be loaded onto a wiki page from an external resource, and therefore interfering with its function can expose Miraheze to security risks.

根據以下步驟,來關閉 Cloudflare 的 DDoS/Origin IP protection system

以下步驟是以您使用dash.cloudflare.com 的控制台為前提所建議的

  1. 進入dash.cloudflare.com
  2. Click your domain in the dashboard.
  3. 進入 DNS

Add CNAME entry to mw-lb.miraheze.org. The cloud with an array must be grey color. If it is yellow, click it to make it grey. Click "Add Record". The result have to look like the last image.

If you are done with this, please go back to Custom domains and continue with the steps.

Please note that not following the rules detailed may result in your custom domain being removed immediately and further action if necessary. In case of any doubt, feel free to contact us at tech at miraheze.org or ask on the Phabricator task you create.