diff --git a/fern/products/docs/pages/getting-started/setting-up-your-domain.mdx b/fern/products/docs/pages/getting-started/setting-up-your-domain.mdx index 5cd810cb8..eee39f0e4 100644 --- a/fern/products/docs/pages/getting-started/setting-up-your-domain.mdx +++ b/fern/products/docs/pages/getting-started/setting-up-your-domain.mdx @@ -116,12 +116,21 @@ Contact Fern via your dedicated Slack channel or [email](mailto:support@buildwit -Once Fern has completed your setup, you'll be able to access your documentation at `mydomain.com/docs`. It may take a few minutes for DNS changes to propagate globally. +Once Fern has completed your setup, you'll be able to access your documentation at `mydomain.com/docs`. It may take a few minutes for DNS changes to propagate globally. Try accessing your new docs site from a mobile device or incognito browser to confirm everything is working. -Check that you can access your new docs site from a mobile device or incognito browser. + +If you see partial page loads or HTTP/2 transfer errors, nginx's lack of native [Brotli](https://github.com/google/brotli) support may be the cause. Fern's CDN serves Brotli-compressed responses by default, which nginx can't decode when proxying upstream. + +Add this directive to your nginx config to request only supported encodings: + +```nginx +proxy_set_header Accept-Encoding "gzip,deflate"; +``` + + @@ -203,4 +212,4 @@ instances: After configuring multiple domains in your `docs.yml`, contact Fern via your dedicated Slack channel or [email](mailto:support@buildwithfern.com) to complete the setup. You'll receive DNS configuration details for each domain. - +