config.json file located in the root of your nocloud resource folder. The default configuration is preconfigured with secure defaults and sensible limits—you can adjust these values to fit your needs.
Logging
boolean
default:"true"
Enable or disable logging output.
string
default:"info"
The minimum log level to output.
Storage
boolean
default:"true"
Whether clients can trigger uploads from their game client or nui.
number
default:"50"
Maximum allowed file size in megabytes. Files exceeding this limit will be
rejected.
string[]
An array of MIME types permitted for upload. Any file type not in this list
will be rejected.
Rate Limiting
Per-client rate limiting prevents abuse by restricting how many uploads each client can make within a time window.boolean
default:"true"
Enable or disable rate limiting.
number
default:"60000"
The time window in milliseconds for rate limit tracking.
number
default:"10"
Maximum number of upload requests allowed per client within the time window.
string
default:"ip:license"
Defines how clients are uniquely identified for rate limiting. This is a
colon-separated list of identifiers.
Examples:
ip:license— Combines IP and license (default)license— License onlyip:license:steam— Multiple identifiers

