aaPanel_Kern I already tried before posting. But I want to add like without aaPanel Nginx configuration.
Like I have only one domain so add conf file like
/etc/nginx/sites-enabled/mydomain.conf
server {
listen 80;
listen somename.com;
server_name somename alias another.alias;
location / {
root html;
index index.html index.htm;
}
}
And i want to remove all unnecessary conf codes