Mount a CMS domain (docs.domain.com) under a subdirectory (domain.com/docs)
K
Kenn Ejima
For documentation and blogs, we'd use a different CMS than the app code, and naturally it tends to be placed in a different domain, such as a subdomain. (docs.domain.com)
But it's increasingly important to have them under subfolder (domain.com/docs) because subdomains don't contribute to SEO.
Notably, Mintlify offers subpath option using Cloudflare Worker. It's only available with 120/mo plan, which signals the importance of the feature.
Ghost also offers an option to have it under subfolder, using a reverse proxy.
↑ Notice that all articles above are placed under a subfolder indeed.
Considering that Render uses Cloudflare, would it be a possibility to offer reverse proxy settings for subpaths natively?
Ideally, I prefer a Render-native load balancer such as Nginx / HAProxy as Netlify does:
Not only because it has the lowest overhead, but because Cloudflare imposes 60 second HTTPS timeout. It critically limits the use case for AI apps, which often takes longer for GPT-4 streaming output, etc.
Log In
R
Richard Keil
You can always deploy a nginx container as reverse proxy to do all this. nginx.conf is not too complicated and you can find plenty of information on the internet
K
Kenn Ejima
Richard Keil: Ah, if we could run an Nginx instance on Render, that would be even simpler. Just didn't know that's possible. Thanks Richard!