location / {
root html;
index index.html index.htm;
}
location /test {
try_files $uri /test.json;
}
put test.json near nginx.exe in html folder
location / {
root html;
index index.html index.htm;
}
location /test {
try_files $uri /test.json;
}
put test.json near nginx.exe in html folder