Skip to content

Commit 6ba20d0

Browse files
committed
Added APP_ENABLE_REGISTRATION to configuration page
1 parent 7d020f4 commit 6ba20d0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/self-hosting/configuration.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ APP_ENV="production"
1818
APP_DEBUG="false"
1919
APP_URL="https://your-domain.com"
2020
APP_FORCE_HTTPS="true"
21+
APP_ENABLE_REGISTRATION="true"
2122
TRUSTED_PROXIES="0.0.0.0/0,2000:0:0:0:0:0:0:0/3"
2223
```
2324

24-
| Env variable name | Description |
25-
|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
26-
| APP_URL | Base URL (f.e. `https://your-domain.com` for a production setup or something like `http://localhost:8000` for a local HTTP-only setup) |
27-
| APP_FORCE_HTTPS | If enabled, the application will threat all request as if they were HTTPS. This is useful if the app is behind a reverse proxy and the reverse proxy is HTTPS-only but the communication between reverse proxy and app is HTTP. |
28-
| TRUSTED_PROXIES | Comma-seperated list of CIDR IP ranges that are considered trusted. The app will trust headers like the `X-Forwarded-For` requests from those IPs. The example above (`0.0.0.0/0,2000:0:0:0:0:0:0:0/3`) is a wildcard for all IP addresses. This is only safe, if it's not possible to bypass the reverse proxy and the reverse proxy is correctly configured. |
25+
| Env variable name | Description |
26+
|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
27+
| APP_URL | Base URL (f.e. `https://your-domain.com` for a production setup or something like `http://localhost:8000` for a local HTTP-only setup) |
28+
| APP_FORCE_HTTPS | If enabled, the application will threat all request as if they were HTTPS. This is useful if the app is behind a reverse proxy and the reverse proxy is HTTPS-only but the communication between reverse proxy and app is HTTP. |
29+
| APP_ENABLE_REGISTRATION | If enabled, users can register an account. If disabled, only users with an account can log in, but it is still possible to create users in the [super admin panel](/self-hosting/super-admin-panel) and via the [CLI](/self-hosting/cli-commands). |
30+
| TRUSTED_PROXIES | Comma-seperated list of CIDR IP ranges that are considered trusted. The app will trust headers like the `X-Forwarded-For` requests from those IPs. The example above (`0.0.0.0/0,2000:0:0:0:0:0:0:0/3`) is a wildcard for all IP addresses. This is only safe, if it's not possible to bypass the reverse proxy and the reverse proxy is correctly configured. |
2931

3032
## Authentication
3133

0 commit comments

Comments
 (0)