Appearance
Configuration
rimgo can be configured using environment variables. The path to the .env file can be changed the -c flag.
🛈 For more details on instance privacy, see Instance privacy. Instance privacy information is required to be added to the instance list.
| Name | Default | Note |
|---|---|---|
| PORT | 3000 | Port to listen on |
| ADDRESS | 0.0.0.0 | Address to listen on |
| IMGUR_CLIENT_ID | 546c25a59c58ad7 | Should not be changed unless you have a registered Imgur app |
| FORCE_WEBP | 0 | Use WebP for images unless the no_webp query parameter is set |
| PRIVACY_POLICY | Optional, URL to privacy policy | |
| PRIVACY_MESSAGE | Optional, message to display on privacy page | |
| PRIVACY_COUNTRY | (clearnet only) The country the instance is located | |
| PRIVACY_PROVIDER | (clearnet only) The provider the instance is using (ISP for self-hosted, or hosting provider) | |
| PRIVACY_CLOUDFLARE | Whether the instance uses Cloudflare proxy (orange cloud icon) | |
| PRIVACY_NOT_COLLECTED | (required) Whether the instance collects data | |
| PRIVACY_IP | Whether the instance collects IP addresses | |
| PRIVACY_URL | Whether the instance collects request URLs | |
| PRIVACY_DEVICE | Whether the instance collects user agents | |
| PRIVACY_DIAGNOSTICS | Whether the instance only collects this data for diagnostic purposes | |
| HTTP_PROXY | See Proxy | |
| HTTPS_PROXY | See Proxy |