diff options
author | Manoj Ghosh <manoj.ghosh@oracle.com> | 2022-10-18 04:10:44 -0700 |
---|---|---|
committer | Manoj Ghosh <manoj.ghosh@oracle.com> | 2022-10-18 04:10:44 -0700 |
commit | 70579756f3d557e1f52f5eb48694184c676b265b (patch) | |
tree | e9192af7f6f10b4f14907661537667ebaf21ec17 | |
parent | e9c80aa32a49c2ac83984f6f509c50d6c400c527 (diff) | |
download | websockify-70579756f3d557e1f52f5eb48694184c676b265b.tar.gz |
expose --file-only option to disable dir listing
-rw-r--r-- | websockify/websocketproxy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/websockify/websocketproxy.py b/websockify/websocketproxy.py index 087e47c..c636d54 100644 --- a/websockify/websocketproxy.py +++ b/websockify/websocketproxy.py @@ -542,6 +542,8 @@ def websockify_init(): parser.add_option("--legacy-syslog", action="store_true", help="Use the old syslog protocol instead of RFC 5424. " "Use this if the messages produced by websockify seem abnormal.") + parser.add_option("--file-only", action="store_true", + help="use this to disable directory listings in web server.") (opts, args) = parser.parse_args() |