qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[📖] Provide a general deployment page for self-hosters

Open christian-hackyourshack opened this issue 1 year ago • 6 comments

Suggestion

I think there are some common issues, that new users are facing, when trying to deploy a Qwik app to their own infrastructure independent of using Node, Deno or Bun. Hence, I want to suggest to merge those deployment pages together, remove the sentence "Since you are choosing [Node|Deno|Bun], here you are in your own..." and try to collect the common issues, that usually do not result from the server technology but from the hosting infrastructure.

For me it was:

  • set ORIGIN because my server runs behind a proxy handling SSL, that is currently only mentioned for Node, but not for Deno and Bun (probably not necessary for Deno Deploy, but if self-hosted)
  • default minification of HTML on the Cloudflare edge, stripping out the essential HTML comments, but there is no hint in the docs, that the comments are essential

I would love to use this issue for a discussion, potentially collecting more issues encountered by others and when considered good, I would create a PR for the docs pages.

christian-hackyourshack avatar Nov 09 '23 10:11 christian-hackyourshack