Atur virtual host Nginx

            server {
                  listen 80;

                  server_name "~^(?<sub>.*)\.ngetes\.com";
                  root  /folder/root/projek/$sub/public;
                  index index.php index.html;

                  access_log off;
                  error_log  /folder/root/projek/$sub/error_log;

                  ...
            }
          

*tutorial lengkapnya googling aja yaa di youtube 😜