I am following this digitalocean link to install wordpress with little modification. I have a laravel application installed and configured there and i followed all steps for directory /var/www/laravel/public/blog/wordpress
(directory I installed wordpress into). Now I need help with configuring /etc/nginx/sites-available/default
, So that i can have wordpress on example.com/blog
. Uptill now I have just came up with
location /blog {
try_files $uri $uri/ /blog/wordpress/index.php?$args;
}
but this is giving me 403 forbidden