-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.comments.json
More file actions
23 lines (19 loc) · 1.96 KB
/
appsettings.comments.json
File metadata and controls
23 lines (19 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"09-address": [ "0.0.0.0:3000" ], // HTTP/0.9 address (dont use for prodution)
"h2c-address": [ "0.0.0.0:8080" ], // HTTP/1.1 (with h2c) address
"h2-address": [ "0.0.0.0:2500" ], // HTTP/2 directly over tcp address (only works with `--http2-prior-knowledge` in curl)
"ssl-address": [ "0.0.0.0:4433" ], // HTTPS address (handles version based of of alpn)
"poly-address": [ "0.0.0.0:5000" ], // Poly address (automatically chooses which protocol to use)
"p12-cert": "", // PKCS#12 certificate file location
"p12-pass": "", // password to PKCS#12 cert
"alpn": [ "h2", "http/1.1" ,"http/0.9" ], // h2, http/1.1, http/0.9 supported
"fallback": true, // if true and no alpn was negotiated, server will continue
"cwd": "./", // set working directory
"backlog": 10, // specify how many clients can be in que
"dualmode": false, // IPv6 only. allows IPv4 to be mapped to IPv6
"serve-dir": "./public", // directory of www files
"use-compression": true, // wether compression on the fly should be used. saves cpu & memory if turned off
"bigfile-threshold": 16777216, // at what byte count a file should be considered too big to read in one go. also indicates chunking size for serving those files. default = 16mb
"bigfile-chunk-size": 16777216, // how big each split up chunk will be, also how much ram it will consume
"loglevel": null // each bit represents a level that will be printed to stdout, 0 is all. the msb is the 13th bit. levels in `./Debug.cs`. default is LogLevel.Info | LogLevel.Init | LogLevel.Warning | LogLevel.SoftError | LogLevel.Error | LogLevel.Critical | LogLevel.Fatal | LogLevel.Assert == 8136
}