feat: Add TLS support (#556)

* feat: Add TLS support

This adds numerous flags with inspiration taken from Vault
for configuring TLS inside Coder.

This enables secure deployments without a proxy, like Cloudflare.

* Update cli/start.go

Co-authored-by: Colin Adler <colin@coder.com>

* Fix flag help in coder.env

Co-authored-by: Colin Adler <colin@coder.com>
This commit is contained in:
Kyle Carberry
2022-03-24 14:21:05 -05:00
committed by GitHub
co-authored by Colin Adler
parent 565b9403e4
commit bf00487174
8 changed files with 341 additions and 34 deletions
+4 -1
View File
@@ -1,3 +1,6 @@
# Runtime variables for "coder start".
# Run "coder start --help" for flag information.
CODER_ADDRESS=
CODER_PG_CONNECTION_URL=
CODER_TLS_CERT_FILE=
CODER_TLS_ENABLE=
CODER_TLS_KEY_FILE=