Browse Source

fix: uninitialized nginx variable

master
Dnomd343 2 years ago
parent
commit
ab31dc81c5
  1. 1
      kms.php

1
kms.php

@ -45,6 +45,7 @@ function load_nginx_config(int $kms_port, int $http_port): void {
} }
location / { location / {
set \$cli_mode false;
include fastcgi_params; include fastcgi_params;
fastcgi_pass unix:/run/php-fpm.sock; fastcgi_pass unix:/run/php-fpm.sock;
if (\$http_user_agent ~* (curl|wget)) { if (\$http_user_agent ~* (curl|wget)) {

Loading…
Cancel
Save