update examples, upgrade sharex config example to 13.7.0

This commit is contained in:
vysion 2022-03-22 20:13:15 -07:00
parent c723ac220b
commit 394396a988
3 changed files with 24 additions and 5 deletions

View File

@ -71,16 +71,22 @@ Filter: # Configure which file types are allowed to be uploaded.
- text/x-perl
Security: # Options relating to security and authorization.
# The key to upload. Do not share it with people you do not know and trust.
# The key that allows uploading.
MasterKey:
Server: # Configure the way the HTTP server behaves.
# What port to listen on. The default is 3030.
# The port to listen on. The default is 3030.
Port:
# How many TOTAL requests the server can handle at once.
# Requests will not be served to ANYONE if the # of simultaneous connections is above this number.
# It is recommended you keep this value around 512 to avoid issues with high-traffic situations.
Concurrency:
# How long (in milliseconds) the server has to read the request body.
# Default is 300000 (5 minutes).
ReadTimeout:
# How long (in milliseconds) the server has to write a response back to the client.
# Default is 300000 (5 minutes).
WriteTimeout:
Redis: # Configure the Redis connection. The values in this section are self-explanatory.
URI:
@ -88,4 +94,17 @@ Redis: # Configure the Redis connection. The values in this section are self-exp
DB: 0
# A boolean. Set this value to true if you want to have /stats show more data, including memory usage.
MoreStats:
MoreStats:
# Force zero-width URLs, regardless or not if ?zerowidth=1 is specified in the POST request.
ForceZeroWidth: false
# How often (in milliseconds) the server should update the stats of the server. Default is 30000.
StatsCollectionInterval:
Logging: # Configure logging behavior.
# Should events be logged to a text file in the first place? (Default is true)
Enabled:
# If logging is enabled, where should logs be written to? (Default is "log.txt" file in the project dir)
LogFile:

View File

@ -4,7 +4,7 @@ Description=Tytanium File Host
[Service]
Type=simple
Restart=always
RestartSec=5s
RestartSec=10s
ExecStart=
WorkingDirectory=

View File

@ -1,5 +1,5 @@
{
"Version": "13.6.1",
"Version": "13.7.0",
"Name": "Tytanium Example Configuration",
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"RequestMethod": "POST",