Skip to content

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.

NameDefaultNote
PORT3000Port to listen on
ADDRESS0.0.0.0Address to listen on
IMGUR_CLIENT_ID546c25a59c58ad7Should not be changed unless you have a registered Imgur app
FORCE_WEBP0Use WebP for images unless the no_webp query parameter is set
PRIVACY_POLICYOptional, URL to privacy policy
PRIVACY_MESSAGEOptional, 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_CLOUDFLAREWhether the instance uses Cloudflare proxy (orange cloud icon)
PRIVACY_NOT_COLLECTED(required) Whether the instance collects data
PRIVACY_IPWhether the instance collects IP addresses
PRIVACY_URLWhether the instance collects request URLs
PRIVACY_DEVICEWhether the instance collects user agents
PRIVACY_DIAGNOSTICSWhether the instance only collects this data for diagnostic purposes
HTTP_PROXYSee Proxy
HTTPS_PROXYSee Proxy