Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document self-hosted HTTP servers #6

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Josh-Cena
Copy link
Contributor

No description provided.

Signed-off-by: Josh-Cena <[email protected]>
@vercel
Copy link

vercel bot commented Aug 14, 2021

@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.

@vercel
Copy link

vercel bot commented Aug 14, 2021

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

Signed-off-by: Josh-Cena <[email protected]>
Signed-off-by: Josh-Cena <[email protected]>
@Josh-Cena
Copy link
Contributor Author

@slorber Maybe you should enforce squash-merging by unchecking the other two options in "Merge button"?

Signed-off-by: Josh-Cena <[email protected]>
@slorber
Copy link
Owner

slorber commented Aug 17, 2021

@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

@cmdcolin
Copy link

cmdcolin commented Sep 14, 2021

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 facebook/docusaurus#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)

@Josh-Cena
Copy link
Contributor Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants