Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 6555aca

Browse files
committed
add: upload_folder_path element
1 parent c91f489 commit 6555aca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/features/multi-thread.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ For more information on threading, visit [Drogon's Documentation](https://github
2222
To increase the number of threads used by Nitro, use the following command syntax:
2323

2424
```bash title="Nitro deploy server format"
25-
nitro [thread_num] [host] [port]
25+
nitro [thread_num] [host] [port] [uploads_folder_path]
2626
```
2727

2828
- **thread_num:** Specifies the number of threads for the Nitro server.
2929
- **host:** The host address normally `127.0.0.1` (localhost) or `0.0.0.0` (all interfaces).
3030
- **port:** The port number where Nitro is to be deployed.
31+
- **uploads_folder_path:** To set a custom path for file uploads in Drogon. Otherwise, it uses the current folder as the default location.
3132

3233
To launch Nitro with 4 threads, enter this command in the terminal:
3334
```bash title="Example"

0 commit comments

Comments
 (0)