From ab31dc81c5f0943383e143fc09ddbdf503bdd20e Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sat, 29 Oct 2022 22:22:30 +0800 Subject: [PATCH] fix: uninitialized nginx variable --- kms.php | 1 + 1 file changed, 1 insertion(+) diff --git a/kms.php b/kms.php index 93de786..8d4968a 100755 --- a/kms.php +++ b/kms.php @@ -45,6 +45,7 @@ function load_nginx_config(int $kms_port, int $http_port): void { } location / { + set \$cli_mode false; include fastcgi_params; fastcgi_pass unix:/run/php-fpm.sock; if (\$http_user_agent ~* (curl|wget)) {