Skip to content

Commit 5a48ac5

Browse files
authored
Update ss-config-sample.txt
1 parent bcad68a commit 5a48ac5

File tree

1 file changed

+41
-19
lines changed

1 file changed

+41
-19
lines changed

bash/ss-config-sample.txt

Lines changed: 41 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
## run ss-update-config if outdated (check the public mirror link for current build) ##
2222
## builds merely prevent conflicts as SlickStack scripts auto-update regardless ##
2323

24-
SS_BUILD="JAN2025RR"
24+
SS_BUILD="FEB2025A"
2525

2626
## SS_LOCKDOWN = [false|true] stops dev site from being overwritten... and more soon ##
2727
## SS_APP = [wordpress|etc] only wordpress is supported currently (feedback welcome) ##
@@ -440,26 +440,48 @@ OPEN_FILE_CACHE_ERRORS="on"
440440
## rate-limiting Nginx can be very powerful but these settings are often misunderstood ##
441441
## research carefully and keep in mind requests are not the same as page loads ##
442442

443-
## LIMIT_CONNECTIONS_PER_IP = [10|15|etc] usually a device needs at least 5+ connections ##
444-
## LIMIT_CONNECTIONS_SERVER = [100|500|etc] total number of connections Nginx should maintain ##
445-
446-
LIMIT_CONNECTIONS_PER_IP="10"
447-
LIMIT_CONNECTIONS_SERVER="100"
448-
449-
## limit requests ##
450-
LIMIT_REQUESTS_SERVER_SECOND="100"
451-
LIMIT_REQUESTS_SERVER_SECOND_BURST="300"
452-
LIMIT_REQUESTS_SERVER_MINUTE="3000"
453-
LIMIT_REQUESTS_SERVER_MINUTE_BURST="9000"
454-
LIMIT_REQUESTS_PHP_SECOND="100"
455-
LIMIT_REQUESTS_PHP_SECOND_BURST="300"
456-
LIMIT_REQUESTS_PHP_MINUTE="3000"
457-
LIMIT_REQUESTS_PHP_MINUTE_BURST="9000"
458-
LIMIT_REQUESTS_WPLOGIN_SECOND="1"
459-
LIMIT_REQUESTS_WPLOGIN_SECOND_BURST="1"
443+
## LIMIT_CONNECTIONS_PER_IP = [10|15|20|30] usually a device needs at least 5+ connections ##
444+
## LIMIT_CONNECTIONS_SERVER = [100|200|300|500] total number of connections Nginx should maintain ##
445+
## LIMIT_REQUESTS_SERVER_SECOND = [50|100|120|150] max requests per second per IP ##
446+
## LIMIT_REQUESTS_SERVER_SECOND_BURST = [150|300|360|450] short burst capacity for requests per second ##
447+
## LIMIT_REQUESTS_SERVER_MINUTE = [1500|3000|3600|4500] max requests per minute per IP ##
448+
## LIMIT_REQUESTS_SERVER_MINUTE_BURST = [4500|9000|10800|13500] short burst capacity for requests per minute ##
449+
## LIMIT_REQUESTS_PHP_SECOND = [50|100|120|150] max PHP requests per second per IP ##
450+
## LIMIT_REQUESTS_PHP_SECOND_BURST = [150|300|360|450] short burst capacity for PHP requests per second ##
451+
## LIMIT_REQUESTS_PHP_MINUTE = [1500|3000|3600|4500] max PHP requests per minute per IP ##
452+
## LIMIT_REQUESTS_PHP_MINUTE_BURST = [4500|9000|10800|13500] short burst capacity for PHP requests per minute ##
453+
## LIMIT_REQUESTS_WPLOGIN_SECOND = [1|2|3|5] max login attempts per second per IP ##
454+
## LIMIT_REQUESTS_WPLOGIN_SECOND_BURST = [1|2|3|5] short burst capacity for login attempts per second ##
455+
## LIMIT_REQUESTS_WPLOGIN_MINUTE = [30|60|90|120] max login attempts per minute per IP ##
456+
## LIMIT_REQUESTS_WPLOGIN_MINUTE_BURST = [3|5|10|15] short burst capacity for login attempts per minute ##
457+
## LIMIT_REQUESTS_WPSEARCH_SECOND = [50|100|120|150] max search requests per second per IP ##
458+
## LIMIT_REQUESTS_WPSEARCH_SECOND_BURST = [150|300|360|450] short burst capacity for search requests per second ##
459+
## LIMIT_REQUESTS_WPSEARCH_MINUTE = [1500|3000|3600|4500] max search requests per minute per IP ##
460+
## LIMIT_REQUESTS_WPSEARCH_MINUTE_BURST = [4500|9000|10800|13500] short burst capacity for search requests per minute ##
461+
462+
## connection limits ##
463+
LIMIT_CONNECTIONS_PER_IP="20"
464+
LIMIT_CONNECTIONS_SERVER="300"
465+
466+
## server request limits ##
467+
LIMIT_REQUESTS_SERVER_SECOND="300"
468+
LIMIT_REQUESTS_SERVER_SECOND_BURST="900"
469+
LIMIT_REQUESTS_SERVER_MINUTE="8000"
470+
LIMIT_REQUESTS_SERVER_MINUTE_BURST="24000"
471+
472+
## php request limits ##
473+
LIMIT_REQUESTS_PHP_SECOND="150"
474+
LIMIT_REQUESTS_PHP_SECOND_BURST="450"
475+
LIMIT_REQUESTS_PHP_MINUTE="4500"
476+
LIMIT_REQUESTS_PHP_MINUTE_BURST="13500"
477+
478+
## wordpress login request limits ##
479+
LIMIT_REQUESTS_WPLOGIN_SECOND="2"
480+
LIMIT_REQUESTS_WPLOGIN_SECOND_BURST="5"
460481
LIMIT_REQUESTS_WPLOGIN_MINUTE="60"
461-
LIMIT_REQUESTS_WPLOGIN_MINUTE_BURST="2"
482+
LIMIT_REQUESTS_WPLOGIN_MINUTE_BURST="20"
462483

484+
## wordpress search request limits ##
463485
LIMIT_REQUESTS_WPSEARCH_SECOND="100"
464486
LIMIT_REQUESTS_WPSEARCH_SECOND_BURST="300"
465487
LIMIT_REQUESTS_WPSEARCH_MINUTE="3000"

0 commit comments

Comments
 (0)