1. Modify configuration
Global Config page, you can deploy the default configurations of gateway
General, main categories are listed on the right side of
General page. Click one
category to quickly enter the setting options section.
Categories now include: Worker, SSL, Proxy, Client Request, File Buffer, Log, DNS, Gzip, Port, and Others.
Worker connections can be used to control the maximum
default connections for each work process.
Change the number to
10777 and click the
Save button on the right
If saved successfully, the change will be automatically synchronized to all gateway nodes in the corresponding partition.
SSL ciphers and
SSL protocols , four default options are
Modern: Suitable for modern client sides.
Intermediate: Intermediate version, the default recommended option.
Old: Suitable for old client sides.
Custom: Customize when the above three default options fail to meet your needs.
Proxy category, you can set
Proxy Cache Zone,
Proxy Temp Path and other configurations.
Proxy Cache Zone: If there are multiple disks, you can set multiple
Proxy Cache Zoneto distribute cache to different physical disks for enhanced performance.
Proxy Temp Path: Custom path used to store temporary files returned from proxy service.
Log category, you can exercise customized control over
error log and
access log outputs.
Avoid generating error logs: it is in
DISABLEstatus by default, and enabling it means not outputting any error logs.
Logs Path: Output path of error logs.
Error log level: Output level of error logs.
Maximum number of log files to keep: Maximum number of logs to keep,
error log and
access log will rotate every hour to save disk space
by only keeping last updated log files.
To increase the speed of writing access logs, Buffer Zone is enabled by default. The size of the buffer zone can be adjusted to an appropriate value falling somewhere between performance and resource usage.
Just set the buffer zone size at
0 if you don’t want to enable it.
Gzip category, default options for Gzip such as Enable switch
and compression level can be selected. The Gzip function Enable switch
also allows you to specify the Gzip status in the application in light
of different conditions.
Others category, you can set the cleanup policy for
operation logs and application release history.
2. Sync option
Sync option is displayed above the
General page, and the
default partition is displayed by default. The option
Automatic Synchronization indicates that all configurations of the current partition will automatically overwrite the configurations of all other partitions.
Automatic Synchronization is checked, only the
default partition is allowed to be modified.
Automatic Synchronization, the changes of each partition will not be automatically synchronized to other partitions, so if you want to synchronize the configuration of the current partition to other specified partitions, click on the option
Copy to other Partitions in the upper right corner.
Then select the partition you want to synchronize and click
copy, the configuration of the current partition will overwrite the configuration of the specified partition.