EasyEngine: Install Wordpress on Subdirectory
Start using this command: ee site create yourwebsite.com — mysql >>> very important to make it work
It will return usefull information regarding your MySQL created user/database and your newly created domain. Save them, you will need them.
Now navigate to /var/www/yourwebsite.com/htdocs/ and paste the following: wget https://wordpress.org/latest.zip unzip latest.zip
A newly created folder, named ‘wordpress’ will appear. Feel free to delete the latest.zip file and rename ‘wordpress’ to your preferred subdirectory name.
Now, you need to reload nginx’s saved config. Use this command: service nginx reload
Once you do so, visit http://yourdomain.com/yoursubdir through browser and start the famous auto-installer of WordPress.
You will be asked for credentials of database. Enter the previously saved ones and voila, everything should be more than fine
Source: https://community.rtcamp.com/t/install-wordpress-on-subdirectory/9471/7