Skip to content

Rewrites to host multiple subdomains under one domain #137

Locked Answered by Pieparker
ptrhck asked this question in Help
Discussion options

You must be logged in to vote

In which project would I need to add a rewrite config

The one which docs.example.com/ios is attached to.

what should it look like?

Something like:

{
  "rewrites": [
    { "source": "/ios*", "destination": "https://ios.docs.example.com*" },
  ]
}

But you may need or want to tweak this to your liking.

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Pieparker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants