mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Add DATASETTE_SSL_KEYFILE and DATASETTE_SSL_CERTFILE envvars to datasette serve flags (#2423)
Closes #2422
This commit is contained in:
parent
0bc6a2af89
commit
a542870bfb
1 changed files with 2 additions and 0 deletions
|
|
@ -468,10 +468,12 @@ def uninstall(packages, yes):
|
||||||
@click.option(
|
@click.option(
|
||||||
"--ssl-keyfile",
|
"--ssl-keyfile",
|
||||||
help="SSL key file",
|
help="SSL key file",
|
||||||
|
envvar="DATASETTE_SSL_KEYFILE",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--ssl-certfile",
|
"--ssl-certfile",
|
||||||
help="SSL certificate file",
|
help="SSL certificate file",
|
||||||
|
envvar="DATASETTE_SSL_CERTFILE",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--internal",
|
"--internal",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue