+ Job for building the wiki page
This commit is contained in:
16
scripts/default-rocket-toml.sh
Normal file
16
scripts/default-rocket-toml.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo Copying in default configuration for web server
|
||||
cat << EOF > build/rocket.toml
|
||||
[production]
|
||||
address = "0.0.0.0"
|
||||
port = 8482
|
||||
keep_alive = 5
|
||||
read_timeout = 5
|
||||
write_timeout = 5
|
||||
log = "critical"
|
||||
limits = { forms = 4096 }
|
||||
|
||||
# Must be type <integer> (below is not valid toml syntax)
|
||||
#workers = [number_of_cpus * 2]
|
||||
EOF
|
||||
Reference in New Issue
Block a user