0

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

4
  • do you have any log-outputs of nginx? Commented Jul 10, 2017 at 11:13
  • nope. found number of log files for nginx in nginx logs folder if these help?? Commented Jul 10, 2017 at 11:15
  • yes, that's what we need Commented Jul 10, 2017 at 11:16
  • lets begin here chat.stackoverflow.com/rooms/148776/… Commented Jul 10, 2017 at 11:18

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.