From 5597d2f17a8e2509de580d672cce39a7e8d517d2 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:12:55 -0600 Subject: [PATCH] Added cloudflare zero trust docs --- content/4.backend/1.deploy.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index 9c5268b..34155bc 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -72,11 +72,12 @@ This method provides a straightforward setup with minimal configuration. For mor Your backend should be accessible on `(YourPrivateIP):80`. To share it outside your local network, you'll need to configure port forwarding or cloudflared tunnel. -**Optional: Using a Reverse Proxy** -For SSL and domain configuration, consider setting up a reverse proxy like Nginx. +**Optional: Implementing a Reverse Proxy** -* If you do use a reverse proxy, you may need to add `MWB_SERVER__CORS: "example.com movie.example.com"`. -* Dependent on your setup you may also need `MWB_SERVER__TRUST_PROXY: true`, and `MWB_SERVER__TRUST_CLOUDFLARE: true`. +To enhance your SSL and domain configuration, it's advisable to establish a reverse proxy, such as Nginx. For an optimal choice in this regard, Cloudflare Zero Trust Tunnel is recommended. You can find more information [here](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/). + +- If you decide to utilize a reverse proxy, it's important to include `MWB_SERVER__CORS: "example.com movie.example.com"` in your configuration. +- Depending on your specific setup, you may also require the addition of `MWB_SERVER__TRUST_PROXY: true` and `MWB_SERVER__TRUST_CLOUDFLARE: true`. ## Method 2 - Railway (Easy)