mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 12:52:44 -05:00
[GH-ISSUE #272] Document HTTPS support via SERVER_CERT_PATH/SERVER_KEY_PATH #1487
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fabriziosorgente on GitHub (Apr 19, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/272
Originally assigned to: @arunavo4 on GitHub.
The application supports native HTTPS out of the box through
@astrojs/node, but this is not documented in the project.@astrojs/nodev10 reads two environment variables at runtime in standalone.ts:When both variables are set, the server starts as a real HTTPS server.
To deploy gitea-mirror in HTTPS, add this to your
.envor systemd service:SERVER_CERT_PATHandSERVER_KEY_PATHare not mentioned in the documentation. I suggest to add a HTTPS section todocs/ENVIRONMENT_VARIABLES.mddocumenting these two variables.@arunavo4 commented on GitHub (Apr 20, 2026):
Thanks @fabriziosorgente
@astrojs/node@10does readSERVER_CERT_PATH/SERVER_KEY_PATHat runtime, and we're on that version. Documented in8cb8fd6:.env.examplenow includes commented examplesClosing as documented. Thanks for the write-up!