Skip to content

Commit 4959563

Browse files
committed
edit readme
1 parent 9cd8d6d commit 4959563

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ With an option for enable maintenance mod, add a banner to a specific or all dom
2424

2525
- Set your language (FR or EN)
2626
- Change the text message for the various error
27-
- Remove the `#` in front of the variables you want to enable, or add them as **secrets** in Cloudflare (Worker Variables/Secrets section).
2827

2928
### 3. Create a KV namespace
3029

@@ -36,6 +35,17 @@ With an option for enable maintenance mod, add a banner to a specific or all dom
3635
![Add names](images/create_kv/create_kv_add_name.png)
3736
![Copy id](images/create_kv/create_kv_copy_id.png)
3837

38+
### 4. Config sub domain
39+
40+
- create a subdomain ``` maintenance.domain.fr ``` and redirect it to your reverse proxy
41+
- create an other subdomain for check if the worker can acces to your reverse proxy for check error ``` test.domain.fr ```
42+
- open a port on your server which will be used by the worker to determine whether your server is down or your connection is down you can use whichever port you want.
43+
- For safety you can limite the IP who can acces to the cloudflare Ip accesible [here](https://www.cloudflare.com/fr-fr/ips/)
44+
45+
#### Exemple for limite acces to cloudflare ip on Unifi
46+
![Copy id](images/domain/unifi_1.png)
47+
![Copy id](images/domain/unifi_2.png)
48+
3949
### 2. Create a Worker on Cloudflare
4050

4151
- Log in to your Cloudflare dashboard.

images/domain/unifi_1.png

84.2 KB
Loading

images/domain/unifi_2.png

31 KB
Loading

0 commit comments

Comments
 (0)