Skip to content

Environment Variables

Server

  • LFSS_DATA: The directory to store the data. Default is .storage_data.
  • LFSS_WEBDAV: Enable WebDAV support. Default is 0, set to 1 to enable.
  • LFSS_LARGE_FILE: The size limit of the file to store in the database. Default is 1m.
  • LFSS_DEBUG: Enable debug mode for more verbose logging. Default is 0, set to 1 to enable.
  • LFSS_DISABLE_LOGGING: Disable all file logging. Default is 0; set to 1 to disable file logging.
  • LFSS_ORIGIN: The Origin header to allow CORS requests. Use , to separate multiple origins. Default is *.

Client

  • LFSS_ENDPOINT: The fallback server endpoint. Default is http://localhost:8000.
  • LFSS_TOKEN: The fallback token to authenticate. Should be sha256(<username>:<password>).
  • LFSS_CLIENT_VERIFY: Enable SSL verification for the client. Can be 0, 1, or a path to a CA bundle.