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
DEFAULT_URL_FORMATstring`toml:"DEFAULT_URL_FORMAT" comment:"Default URL format. Choices are \n1. 'canonical' - Chooses best backend, and proxies content from that backend. \n2. 'direct' - A backend identifier is included in the URL and directly proxies that storage backend. \n3. 'backend_direct' - URL directly links to the backend (not supported yet)"`
49
-
ENABLE_SAFE_IMAGE_CHECKstring`toml:"ENABLE_SAFE_IMAGE_CHECK" comment:"Enable safe image check. 'true', '1' or 'yes' to enable"`
50
-
SAFE_IMAGE_CHECK_ENDPOINTstring`toml:"SAFE_IMAGE_CHECK_ENDPOINT" comment:"Safe image check endpoint. Used if ENABLE_SAFE_IMAGE_CHECK is true"`
51
-
CAPTCHA_PROVIDERstring`toml:"CAPTCHA_PROVIDER" comment:"Captcha provider. Choices are 'off', 'recaptcha', 'turnstile'"`
52
-
RECAPTCHA_CLIENT_KEYstring`toml:"RECAPTCHA_CLIENT_KEY" comment:"Recaptcha client key. Used if CAPTCHA_PROVIDER is 'recaptcha'"`
53
-
TURNSTILE_SITE_KEYstring`toml:"TURNSTILE_SITE_KEY" comment:"Turnstile site key. Used if CAPTCHA_PROVIDER is 'turnstile'"`
54
-
RECAPTCHA_SERVER_KEYstring`toml:"RECAPTCHA_SERVER_KEY" comment:"Recaptcha server key. Used if CAPTCHA_PROVIDER is 'recaptcha'"`
55
-
TURNSTILE_SECRET_KEYstring`toml:"TURNSTILE_SECRET_KEY" comment:"Turnstile secret key. Used if CAPTCHA_PROVIDER is 'turnstile'"`
GOOGLE_ANALYTICS_IDstring`toml:"GOOGLE_ANALYTICS_ID" comment:"Google Analytics measurement ID (e.g. G-XXXXXXX). When set, injects gtag.js and exposes window.GAID."`
59
-
ALLOW_UPLOADstring`toml:"ALLOW_UPLOAD" comment:"Allow uploading new images. 'true', '1' or 'yes' to enable"`
60
-
ALLOW_NEW_USERstring`toml:"ALLOW_NEW_USER" comment:"Allow new user creation. 'true', '1' or 'yes' to enable"`
61
-
IMAGE_CACHE_MAX_BYTESint64`toml:"IMAGE_CACHE_MAX_BYTES" comment:"Optional in-memory HTTP image response cache byte budget. Leave unset or 0 to disable. Useful when a tiny set of immutable image URLs receives most traffic and the app server proxies storage bytes."`
62
-
IMAGE_CACHE_MAX_FILE_BYTESint64`toml:"IMAGE_CACHE_MAX_FILE_BYTES" comment:"Optional maximum single image size for the HTTP image response cache. Defaults to IMAGE_CACHE_MAX_BYTES when unset."`
63
-
IMAGE_MAX_UPLOAD_BYTESint64`toml:"IMAGE_MAX_UPLOAD_BYTES" comment:"Maximum image upload size in bytes. Defaults to 10485760 (10 MB)."`
64
-
WEB_UI_ORIGINSstring`toml:"WEB_UI_ORIGINS" comment:"Comma-separated list of origins (scheme://host[:port]) allowed to make CORS requests to the image endpoints."`
41
+
BINDstring`toml:"BIND" comment:"HTTP server bind address"`
42
+
WRITE_TIMEOUTint`toml:"WRITE_TIMEOUT" comment:"HTTP server write timeout"`
43
+
READ_TIMEOUTint`toml:"READ_TIMEOUT" comment:"HTTP server read timeout"`
DEFAULT_URL_FORMATstring`toml:"DEFAULT_URL_FORMAT" comment:"Default URL format. Choices are \n1. 'canonical' - Chooses best backend, and proxies content from that backend. \n2. 'direct' - A backend identifier is included in the URL and directly proxies that storage backend. \n3. 'backend_direct' - URL directly links to the backend (not supported yet)"`
49
+
ENABLE_SAFE_IMAGE_CHECKstring`toml:"ENABLE_SAFE_IMAGE_CHECK" comment:"Enable safe image check. 'true', '1' or 'yes' to enable"`
50
+
SAFE_IMAGE_CHECK_ENDPOINTstring`toml:"SAFE_IMAGE_CHECK_ENDPOINT" comment:"Safe image check endpoint. Used if ENABLE_SAFE_IMAGE_CHECK is true"`
51
+
CAPTCHA_PROVIDERstring`toml:"CAPTCHA_PROVIDER" comment:"Captcha provider. Choices are 'off', 'recaptcha', 'turnstile'"`
52
+
RECAPTCHA_CLIENT_KEYstring`toml:"RECAPTCHA_CLIENT_KEY" comment:"Recaptcha client key. Used if CAPTCHA_PROVIDER is 'recaptcha'"`
53
+
TURNSTILE_SITE_KEYstring`toml:"TURNSTILE_SITE_KEY" comment:"Turnstile site key. Used if CAPTCHA_PROVIDER is 'turnstile'"`
54
+
RECAPTCHA_SERVER_KEYstring`toml:"RECAPTCHA_SERVER_KEY" comment:"Recaptcha server key. Used if CAPTCHA_PROVIDER is 'recaptcha'"`
55
+
TURNSTILE_SECRET_KEYstring`toml:"TURNSTILE_SECRET_KEY" comment:"Turnstile secret key. Used if CAPTCHA_PROVIDER is 'turnstile'"`
GOOGLE_ANALYTICS_IDstring`toml:"GOOGLE_ANALYTICS_ID" comment:"Google Analytics measurement ID (e.g. G-XXXXXXX). When set, injects gtag.js and exposes window.GAID."`
59
+
ALLOW_UPLOADstring`toml:"ALLOW_UPLOAD" comment:"Allow uploading new images. 'true', '1' or 'yes' to enable"`
60
+
ALLOW_NEW_USERstring`toml:"ALLOW_NEW_USER" comment:"Allow new user creation. 'true', '1' or 'yes' to enable"`
61
+
IMAGE_CACHE_MAX_BYTESint64`toml:"IMAGE_CACHE_MAX_BYTES" comment:"Optional in-memory HTTP image response cache byte budget. Leave unset or 0 to disable. Useful when a tiny set of immutable image URLs receives most traffic and the app server proxies storage bytes."`
62
+
IMAGE_CACHE_MAX_FILE_BYTESint64`toml:"IMAGE_CACHE_MAX_FILE_BYTES" comment:"Optional maximum single image size for the HTTP image response cache. Defaults to IMAGE_CACHE_MAX_BYTES when unset."`
63
+
IMAGE_MAX_UPLOAD_BYTESint64`toml:"IMAGE_MAX_UPLOAD_BYTES" comment:"Maximum image upload size in bytes. Defaults to 10485760 (10 MB)."`
64
+
GUEST_IMAGE_MAX_UPLOAD_BYTESint64`toml:"GUEST_IMAGE_MAX_UPLOAD_BYTES" comment:"Maximum image upload size for unauthenticated users in bytes. Defaults to IMAGE_MAX_UPLOAD_BYTES when unset or 0."`
65
+
WEB_UI_ORIGINSstring`toml:"WEB_UI_ORIGINS" comment:"Comma-separated list of origins (scheme://host[:port]) allowed to make CORS requests to the image endpoints."`
0 commit comments