Reputation: 1806
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
Upvotes: 0
Views: 128
Reputation: 1550
According to our chat-conversation. You have to copy all your files and folders from /blog/wordpress
to /blog
if you want your blog to be accessible by https://example.com/blog
Upvotes: 1