diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-05 13:05:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 13:05:51 +0000 |
commit | c71691933cb9eb004c74ef67a5d09701a1b71832 (patch) | |
tree | 6d7400227b685d03e6857d2540632a78848a0d97 /modules | |
parent | 03b08c4a6b0609f24ec789d40100529b92ef0612 (diff) | |
parent | a02bad570ef7718436369bb4e4aa5b8e0f1f5689 (diff) | |
download | stable-diffusion-webui-gfx803-c71691933cb9eb004c74ef67a5d09701a1b71832.tar.gz stable-diffusion-webui-gfx803-c71691933cb9eb004c74ef67a5d09701a1b71832.tar.bz2 stable-diffusion-webui-gfx803-c71691933cb9eb004c74ef67a5d09701a1b71832.zip |
Merge pull request #4320 from papuSpartan/tls
Add support for SSL/TLS (provide Gradio TLS options)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/shared.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 962115f6..7a20c3af 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -86,6 +86,9 @@ parser.add_argument("--nowebui", action='store_true', help="use api=True to laun parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI")
parser.add_argument("--device-id", type=str, help="Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)", default=None)
parser.add_argument("--administrator", action='store_true', help="Administrator rights", default=False)
+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("--server-name", type=str, help="Sets hostname of server", default=None)
cmd_opts = parser.parse_args()
restricted_opts = {
|