Docroot and importing arbitrary sites

Auto-detect real root and htaccess→nginx for CMS and uploaded archives.

Native nginx does not read .htaccess. MacFullStack:

  1. Detects the real document root (e.g. Laravel public/, Bitrix root, Drupal web/)
  2. Emits equivalent rewrite/security rules for com