TheWormsUnited yes, i tried it now. Renamed the folder to /www/wwwroot/blog and changed the config to this
location /blog {
root /www/wwwroot;
}
But nginx return 404. I also tried this - folder name /www/wwwroot/blog and config
location /blog {
alias /www/wwwroot/blog;
}
Also does not work.
Maybe this is important. The main site is here /www/wwwroot/sitename. Aapnel and nginx see it, everything works well. I edit the URL rewrite for this website. My blog is here /www/wwwroot/blog. This is the path i use in an alias.