SOLVED (see my answer below)
When I added a new nginx config edu.conf in sites-available and sites-enabled, nginx just died.
I cant restart service and all sites wont work.
When I type sudo nginx -t -c /etc/nginx/sites-available/edu.conf or the same command on any other of my nginx configs it throws error:
nginx: [emerg] "upstream" directive is not allowed here in /etc/nginx/sites-available/edu.conf:1
nginx: configuration file /etc/nginx/sites-available/edu.conf test failed
I already had nginx config that was identical to the edu.conf, I just changed the root folders and server name.
If I check for syntax errors on any of previous files that were completely fine it throws a error on first line on all of them. Even the default one.
sw@asd:/etc/nginx/sites-available$ sudo nginx -t -c /etc/nginx/sites-available/magento2.conf
nginx: [emerg] "upstream" directive is not allowed here in /etc/nginx/sites-available/magento2.conf:1
nginx: configuration file /etc/nginx/sites-available/magento2.conf test failed
sw@asd:/etc/nginx/sites-available$ sudo nginx -t -c /etc/nginx/sites-available/default
nginx: [emerg] "server" directive is not allowed here in /etc/nginx/sites-available/default:16
nginx: configuration file /etc/nginx/sites-available/default test failed
Here is the edu.conf that I added:
upstream fastcgi_backend {
           server unix:/var/run/php/php7.0-fpm.sock;        
        #  Or TCP
        #  server  127.0.0.1:9000;
}
server {
        listen 80;
        server_name edu.dev;
        set $MAGE_ROOT /var/www/html/mg;
        set $MAGE_MODE developer;
        include /var/www/html/mg/nginx.conf.sample;
}