You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/quickstart-guide.md
+37-7Lines changed: 37 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,7 @@ See the [examples folder](https://github.com/bunkerity/bunkerweb/tree/v1.6.3-rc1
372
372
image: bunkerity/bunkerweb-ui:1.6.3-rc1
373
373
environment:
374
374
<<: *bw-ui-env
375
-
TOTP_SECRETS: "mysecret" # Remember to set a stronger secret key (see the Prerequisites section)
375
+
TOTP_ENCRYPTION_KEYS: "mysecret" # Remember to set a stronger secret key (see the Prerequisites section)
376
376
restart: "unless-stopped"
377
377
networks:
378
378
- bw-universe
@@ -542,7 +542,7 @@ See the [examples folder](https://github.com/bunkerity/bunkerweb/tree/v1.6.3-rc1
542
542
image: bunkerity/bunkerweb-ui:1.6.3-rc1
543
543
environment:
544
544
<<: *bw-ui-env
545
-
TOTP_SECRETS: "mysecret" # Remember to set a stronger secret key (see the Prerequisites section)
545
+
TOTP_ENCRYPTION_KEYS: "mysecret" # Remember to set a stronger secret key (see the Prerequisites section)
546
546
restart: "unless-stopped"
547
547
networks:
548
548
- bw-universe
@@ -608,21 +608,51 @@ You should see a setup page just like this one:
608
608
609
609
Once you're on the setup page, you can enter the **administrator username, email, and password** and click on the "Next" button.
610
610
611
-
### Configure the Reverse Proxyand HTTPS
611
+
### Configure the Reverse Proxy, HTTPS and other advanced settings
612
612
613
-
The next step will ask you to enter the **server name** (domain/FQDN) that the web UI will use. You can also choose to enable **Let's Encrypt** or use a **custom certificate**.
613
+
=== "Basic setup"
614
+
615
+
The next step will ask you to enter the **server name** (domain/FQDN) that the web UI will use.
616
+
617
+
You can also choose to enable [Let's Encrypt](features.md#lets-encrypt)
The next step will ask you to enter the **server name** (domain/FQDN) that the web UI will use.
627
+
628
+
You can also choose to enable [Let's Encrypt](features.md#lets-encrypt).
629
+
630
+
If you expand the `Advanced settings` section, you can also configure the following options:
631
+
632
+
* **Reverse Proxy**: Tweak the Reverse Proxy settings for your administrator interface (e.g., if you want to use a path).
633
+
* [Real IP](features.md#real-ip): Configure the Real IP settings to properly identify the client's IP address (e.g., if you are behind a load balancer or a CDN).
634
+
* [Custom Certificate](features.md#custom-ssl-certificate): Upload a custom TLS certificate if you don't want to use Let's Encrypt.
If you have a PRO license, you can activate it by entering your license key in the `Upgrade to PRO` section. This will enable the PRO features of BunkerWeb.
Set the generated key in the `TOTP_ENCRYPTION_KEYS` environment variable of the web UI. You can also set multiple keys separated by spaces or as a dictionary (for backward compatibility).
465
+
454
466
!!! warning "Lost secret key"
455
467
456
468
In case you lost your secret key, two options are available:
@@ -514,7 +526,7 @@ The web UI can be deployed and configured without going through the setup wizard
514
526
- `ADMIN_USERNAME`: username to access the web UI.
515
527
- `ADMIN_PASSWORD`: password to access the web UI.
516
528
- `FLASK_SECRET`: a secret key used to encrypt the session cookie (if not set, a random key will be generated).
517
-
- `TOTP_SECRETS`: a list of TOTP secrets separated by spaces or a dictionary (e.g.: `{"1": "mysecretkey"}` or `mysecretkey` or `mysecretkey mysecretkey1`). **We strongly recommend you to set this variable if you want to use 2FA, as it will be used to encrypt the TOTP secret keys** (if not set, a random number of secret keys will be generated). Check out the [passlib documentation](https://passlib.readthedocs.io/en/stable/narr/totp-tutorial.html#application-secrets) for more information.
529
+
- `TOTP_ENCRYPTION_KEYS` (or `TOTP_SECRETS`): a list of TOTP encryption keys separated by spaces or a dictionary (e.g.: `{"1": "mysecretkey"}` or `mysecretkey` or `mysecretkey mysecretkey1`). **We strongly recommend you to set this variable if you want to use 2FA, as it will be used to encrypt the TOTP secret keys** (if not set, a random number of secret keys will be generated). Check out the [passlib documentation](https://passlib.readthedocs.io/en/stable/narr/totp-tutorial.html#application-secrets) for more information.
518
530
- `LISTEN_ADDR`: the address where the web UI will listen (default is `0.0.0.0` in **Docker images** and `127.0.0.1` on **Linux installations**).
519
531
- `LISTEN_PORT`: the port where the web UI will listen (default is `7000`).
520
532
- `MAX_WORKERS`: the number of workers used by the web UI (default is the number of CPUs).
@@ -535,7 +547,7 @@ The web UI can be deployed and configured without going through the setup wizard
0 commit comments