Skip to content

Document self-hosted HTTP servers - #6

Draft
Josh-Cena wants to merge 4 commits into
slorber:mainfrom
Josh-Cena:self-host
Draft

Document self-hosted HTTP servers#6
Josh-Cena wants to merge 4 commits into
slorber:mainfrom
Josh-Cena:self-host

Conversation

@Josh-Cena

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
@vercel

vercel Bot commented Aug 14, 2021

Copy link
Copy Markdown

@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

vercel Bot commented Aug 14, 2021

Copy link
Copy Markdown

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 <sidachen2003@gmail.com>
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
@Josh-Cena

Copy link
Copy Markdown
Contributor Author

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

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
@slorber

slorber commented Aug 17, 2021

Copy link
Copy Markdown
Owner

@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

cmdcolin commented Sep 14, 2021

Copy link
Copy Markdown

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
Copy Markdown
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