It takes me few days to find this little piece of code. And now finally i found it! I like to share this to you, and i hope you will solve your problem too! 🙂
Copy to Clipboard
  • Change “wordpress-blog” to whatever you want 🙂

  • Change “wordpress_blog” to your wordpress app folder.

  • Change php version (7.0) on fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; (Depending on the version that you are using)

Credit to this link.

iprog21