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
|`WASTEBIN_ADDRESS_PORT`| Address and port to bind the server to. |`0.0.0.0:8088`. |
139
+
|`WASTEBIN_BASE_URL`| Base URL for the QR code display. | User agent's `Host` header field used as an approximation. |
140
+
|`WASTEBIN_CACHE_SIZE`| Number of rendered items to cache, disable with 0. | 128 |
141
+
|`WASTEBIN_DATABASE_PATH`| Path to the sqlite3 database file. |`:memory:`|
142
+
|`WASTEBIN_HTTP_TIMEOUT`| Maximum number of seconds a request can be processed until wastebin responds with 408 | 5 |
143
+
|`WASTEBIN_MAX_BODY_SIZE`| Number of bytes to accept for POST requests. | 1048576, i.e. 1 MB |
144
+
|`WASTEBIN_MAX_PASTE_EXPIRATION`| Maximum allowed lifetime of a paste in seconds. | 0, i.e. unlimited |
145
+
|`WASTEBIN_PASSWORD_SALT`| Salt used to hash user passwords used for encrypting pastes. |`somesalt`|
146
+
|`WASTEBIN_SIGNING_KEY`| Key to sign cookies, at least 64 bytes long. | Random key generated at startup, i.e. cookies will become invalid after restarts and paste creators will not be able to delete their pastes. |
147
+
|`WASTEBIN_TITLE`| HTML page title. |`wastebin`|
148
+
|`RUST_LOG`| Log level. Besides the typical `trace`, `debug`, `info` etc. keys, you can also set the `tower_http` key to some log level to get additional information request and response logs. ||
0 commit comments