Solved security issues in .htaccess. Added /pub/ folder with .gitignore file