trailing-slash-guide
trailing-slash-guide copied to clipboard
Document self-hosted HTTP servers
@Josh-Cena is attempting to deploy a commit to the Trailing Slash Team Team on Vercel.
A member of the Team first needs to authorize it.
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
vercel-default – ./static
🔍 Inspect: https://vercel.com/trailing-slash-team/vercel-default/CQLK9K9jdxjSKpv5czBNvXm9Si6g
✅ Preview: https://vercel-default-git-fork-josh-cena-self-host-trailing-slash-team.vercel.app
@slorber Maybe you should enforce squash-merging by unchecking the other two options in "Merge button"?
@slorber Maybe you should enforce squash-merging by unchecking the other two options in "Merge button"?
Done
That looks good to me.
I guess we could add self-hosted software with their default settings in a table in the repo readme? maybe separated from the CDN services
Thanks for making this thread. I am a little concerned about having issues with running on a "bare" http server like python3 -m http.server , this "bare" server appears to also have the most similar behavior to an amazon s3+cloudflare that is setup, but the python3 -m http.server is probably much more easily setup for testing.
I thought I had something working with https://github.com/facebook/docusaurus/issues/5570
If anyone has ideas about this, a simple repro is here
https://github.com/cmdcolin/docusaurus-nav-issue
I thought the prepare script in https://github.com/slorber/trailing-slash-guide/blob/main/docs/Solutions.md#post-process-your-static-site-generator-output-before-deployment was maybe helping but it seemed to maybe have issue still
One possible solution is adding
trailingSlashes:true
And then making all my doc links have a ../
[ex1](../ex1)
@cmdcolin I'm still navigating through the mist of HTTP server options out there :P Some seem to have dependency on others, and most have pretty identical behaviors. I'll try my best to make things illustrative and concise