colorize_logs: true files: "./files" thumbnails: "./thumbnails" generateThumbnails: true db: "./db.sqlite3" dbTableName: "files" adminEnabled: true adminApiKey: "asd" fileameLength: 3 # In MiB size_limit: 512 port: 8080 blockTorAddresses: true # Every hour torExitNodesCheck: 1600 torExitNodesUrl: "https://check.torproject.org/exit-addresses" torExitNodesFile: "./torexitnodes.txt" torMessage: "TOR IS BLOCKED!" # Set this to 0 to disable rate limiting filesPerIP: 2 ipTableName: "ips" rateLimitPeriod: 20 rateLimitMessage: "" # If you define the unix socket, it will only listen on the socket and not the port. #unix_socket: "/tmp/file-uploader.sock" # In days deleteFilesAfter: 1 # In seconds deleteFilesCheck: 1600 deleteKeyLength: 4 siteInfo: "Whatever you want to put here" siteWarning: "WARNING!" log_level: "debug" blockedExtensions: - "exe" # List of useragents that use OpenGraph to gather file information opengraphUseragents: - "chatterino-api-cache/" - "FFZBot/" - "Twitterbot/" - "Synapse/" - "Mastodon/" # You can leave it empty, or add your own domains. alternativeDomains: - "example.com"