qbt server settings web - fedarovich/qbittorrent-cli GitHub Wiki

Command Reference

Manages web UI and API settings.

Usage:

qbt server settings web [options]

Options

Option Description
--lang <LANGUAGE>
-l <LANGUAGE>
Web UI language
--address <ADDRESS>
-a <ADDRESS>
Web interface address. Pass empty string to listen on any address.
--port <PORT>
-p <PORT>
Web interface port
--domain <DOMAIN>
-d <DOMAIN>
Web interface domain. Pass empty string to listen on any domain.
--upnp <BOOL>
-u <BOOL>
Use UPnP/NAT-PMP
--https <BOOL>
-s <BOOL>
Use HTTPS
--cert <PATH>
-c <PATH>
X509 certificate path on the client machine. The certificate can be in PEM (.pem, .crt, .cer) format. For qBittorrent before 4.2.
--key <PATH>
-k <PATH>
X509 certificate key path on the client machine. The key must be in PEM (.key) format without encryption. For qBittorrent before 4.2.
--key-password <PASSWORD>
-P <PASSWORD>
X509 certificate key password.
--cert-path <PATH>
-C <PATH>
X509 certificate path on the server machine. The certificate can be in PEM (.pem, .crt, .cer) format. For qBittorrent 4.2 or later.
--key-path <PATH>
-K <PATH>
X509 certificate path on the server machine. The key must be in PEM (.key) format without encryption. For qBittorrent 4.2 or later.
--alt-ui <BOOL>
-A <BOOL>
Enables/Disables alternative web UI. Requires qBittorrent 4.1.5 or later.
--alt-ui-path <PATH>
-U <PATH>
Alternative web UI path. Requires qBittorrent 4.1.5 or later.
--secure-cookie <BOOL>
-S <BOOL>
Set Secure attribute on cookie when using HTTPS. Requires qBittorrent 4.2.2 or later.
--max-auth-failures <NUMBER>
-m <NUMBER>
The number of the failed authentication attempts after which the client will be banned. Requires qBittorrent 4.2.2 or later.
--ban-duration <SECONDS>
-b <SECONDS>
The duration (in seconds) the client will be banned for after the specified in --max-auth-failures number of failed authentication attempts. Requires qBittorrent 4.2.2 or later.
--use-custom-http-headers <BOOL>
-e <BOOL>
Enable or disables custom HTTP headers for Web UI. Requires qBittorrent 4.2.5 or later.
--custom-http-header <HEADER>
-H <HEADER>
Custom HTTP header for Web UI. Use a colon (:) as a separator between header name and value. This option can be repeated in order to set several headers. Requires qBittorrent 4.2.5 or later.
--format <OBJECT_FORMAT>
-F <OBJECT_FORMAT>
Output format: list | csv | json | property
--url <SERVER_URL> QBittorrent Server URL
--username <USERNAME> User name
--password <PASSWORD> User password
--ask-for-password Ask the user to enter a password in a secure way.
--help
-h
-?
Show help information

Details

Run this command without options too see the current settings.

See https://github.com/fedarovich/qbittorrent-cli/wiki/Output-Formats for more information about output formats.

⚠️ **GitHub.com Fallback** ⚠️