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
> If using Docker Compose, no changes are needed as the `.env` file is already referenced in`compose.yaml` via the `env_file: .env` line.
406
406
407
+
## Command Line Flags
408
+
409
+
Redlib supports the following command line flags:
410
+
411
+
- `-4`, `--ipv4-only`: Listen on IPv4 only.
412
+
- `-6`, `--ipv6-only`: Listen on IPv6 only.
413
+
- `-r`, `--redirect-https`: Redirect all HTTP requests to HTTPS (no longer functional).
414
+
- `-a`, `--address <ADDRESS>`: Sets address to listen on. Default is `[::]`.
415
+
- `-p`, `--port <PORT>`: Port to listen on. Default is `8080`.
416
+
- `-H`, `--hsts <EXPIRE_TIME>`: HSTS header to tell browsers that this site should only be accessed over HTTPS. Default is `604800`.
417
+
407
418
## Instance settings
408
419
409
420
Assign a default value foreach instance-specific setting by passing environment variables to Redlibin the format `REDLIB_{X}`. Replace `{X}` with the setting name (see list below) in capital letters.
@@ -429,7 +440,7 @@ Assign a default value for each user-modifiable setting by passing environment v
0 commit comments