Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
c17ca8ef
Unverified
Commit
c17ca8ef
authored
Mar 14, 2024
by
Dan Clark
Committed by
GitHub
Mar 14, 2024
Browse files
Add args for mTLS support (#3410)
Co-authored-by:
Daniel Clark
<
daniel.clark@ibm.com
>
parent
06ec4867
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
vllm/entrypoints/api_server.py
vllm/entrypoints/api_server.py
+11
-1
No files found.
vllm/entrypoints/api_server.py
View file @
c17ca8ef
...
...
@@ -82,6 +82,14 @@ if __name__ == "__main__":
parser
.
add_argument
(
"--port"
,
type
=
int
,
default
=
8000
)
parser
.
add_argument
(
"--ssl-keyfile"
,
type
=
str
,
default
=
None
)
parser
.
add_argument
(
"--ssl-certfile"
,
type
=
str
,
default
=
None
)
parser
.
add_argument
(
"--ssl-ca-certs"
,
type
=
str
,
default
=
None
,
help
=
"The CA certificates file"
)
parser
.
add_argument
(
"--ssl-cert-reqs"
,
type
=
int
,
default
=
0
,
help
=
"Whether client certificate is required"
)
parser
.
add_argument
(
"--root-path"
,
type
=
str
,
...
...
@@ -100,4 +108,6 @@ if __name__ == "__main__":
log_level
=
"debug"
,
timeout_keep_alive
=
TIMEOUT_KEEP_ALIVE
,
ssl_keyfile
=
args
.
ssl_keyfile
,
ssl_certfile
=
args
.
ssl_certfile
)
ssl_certfile
=
args
.
ssl_certfile
,
ssl_ca_certs
=
args
.
ssl_ca_certs
,
ssl_cert_reqs
=
args
.
ssl_cert_reqs
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment