mirror of https://github.com/dnomd343/kms-server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
450 B
17 lines
450 B
server {
|
|
listen 1689;
|
|
root /var/www/kms-server;
|
|
|
|
location / {
|
|
set $query_param $query_string;
|
|
if ($http_user_agent ~* (curl|wget)) {
|
|
set $query_param $query_param&cli=true;
|
|
}
|
|
include fastcgi_params;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_param QUERY_STRING $query_param;
|
|
fastcgi_param SCRIPT_FILENAME /var/www/kms-server/backend/route.php;
|
|
}
|
|
|
|
location /assets {}
|
|
}
|