Skip to content

Commit

Permalink
Add docs on CF proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
endline committed Dec 12, 2024
1 parent d857e2a commit 9c62e5f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cmd/audiusd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ For this to function correctly, the following conditions must be met:
- Your service must be publicly accessible via the URL specified in the `creatorNodeEndpoint` environment variable.
- Your service must be reachable on both port `:80` and port `:443`

**CLOUDFLARE PROXY**

If you are using Cloudflare Proxy, and want to use auto TLS, you have two options:

1. Start with DNS-only mode:
- Configure Cloudflare in DNS-only mode initially (not proxied)
- Let the node obtain its LetsEncrypt certificate (requires HTTP access)
- Once certificate is obtained, you can enable Cloudflare proxy

2. Use Flexible SSL mode:
- Set Cloudflare SSL/TLS encryption mode to "Flexible" or "Off"
- Wait for the node to obtain its certificate
- Switch Cloudflare encryption mode to "Full" once complete

See Cloudflare [ssl-mode docs](https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/) for more details.

## Development

```
Expand Down

0 comments on commit 9c62e5f

Please sign in to comment.