I built a custom PHP/MySQL website (www.mywebsite.com) to which I attached a wordpress blog (www.mywebsite.com/blog). I've been trying so many different nginx config things and read so many blog articles that I'm lost now :-)
The main website part is working fine. All my url rewrites work fine. But on the blog part, I don't know what to do anymore for Wordpress to work properly.
Here's my last conf for the blog part. Permalinks work but the css and js files cannot be found.
location /blog {
root /var/www/mywebsite.com/blog/;
index index.php index.html index.htm;
try_files $uri $uri/ /blog/index.php;
}