strange, laragon should be setting up nginx for you automatically.
You could try the following though.....
remove all your sites-enabled from your nginx setup and only include the following as a default:
server {
listen 80;
server_name ~^(.*)\.test;
set $domain $1;
root D:/Softwares/nginx-1.15.5/html/$domain/public;
access_log logs/$domain.access.log;
index index.html index.php;
# Media: images, icons, video, audio, HTC
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
expires 1M;
access_log off;
add_header Cache-Control "public";
}
# CSS and Javascript
location ~* \.(?:css|js|woff|woff2|eot|)$ {
expires 1y;
access_log off;
add_header Cache-Control "public";
}
location / {
try_files $uri $uri/ =404 /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_buffering on;
}
}
This would give any domain ending in .test a root in "D:/Softwares/nginx-1.15.5/html/{$domainName}/public"
so if you add this to your windows hosts file:
127.0.0.1 erp.test
127.0.0.1 develop.test
going to http://erp.test would end you in your nginx in the folder "D:/Softwares/nginx-1.15.5/html/erp/public"
same for develop.test: "D:/Softwares/nginx-1.15.5/html/develop/public"
If that also does not work, I really suggest removing this nginx installation and re-trying laragon.