aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 20:29:38 +0300
committerGitHub <noreply@github.com>2023-04-29 20:29:38 +0300
commit2e78e65a22bfa6b116ae18d12fdcb85ec8acd727 (patch)
treeb4c96b7d9056890fde266cd9f09afc6c9aa09db4 /modules
parent90e465982270b85812c94961696b7ba4d2c4d38c (diff)
parent0d32cb2cf5ce1927295dcf8de0b2989968e95c38 (diff)
Merge pull request #9907 from garrettsutula/master
Add disable_tls_verify arg for use with self-signed certs
Diffstat (limited to 'modules')
-rw-r--r--modules/cmd_args.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py
index 81c0b82a..f47c21bb 100644
--- a/modules/cmd_args.py
+++ b/modules/cmd_args.py
@@ -95,6 +95,7 @@ parser.add_argument("--cors-allow-origins", type=str, help="Allowed CORS origin(
parser.add_argument("--cors-allow-origins-regex", type=str, help="Allowed CORS origin(s) in the form of a single regular expression", default=None)
parser.add_argument("--tls-keyfile", type=str, help="Partially enables TLS, requires --tls-certfile to fully function", default=None)
parser.add_argument("--tls-certfile", type=str, help="Partially enables TLS, requires --tls-keyfile to fully function", default=None)
+parser.add_argument("--disable-tls-verify", action="store_false", help="When passed, enables the use of self-signed certificates.", default=None)
parser.add_argument("--server-name", type=str, help="Sets hostname of server", default=None)
parser.add_argument("--gradio-queue", action='store_true', help="does not do anything", default=True)
parser.add_argument("--no-gradio-queue", action='store_true', help="Disables gradio queue; causes the webpage to use http requests instead of websockets; was the defaul in earlier versions")