systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Mon 2018-01-22 21:01:49 CET; 1h 18min ago
Docs: http://nginx.org/en/docs/
Process: 2172 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Jan 22 21:01: nginx[2172]: nginx: [emerg] "location" directive is not allowed here in...nf:1
Jan 22 21:01: nginx[2172]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 22 21:01:systemd[1]: nginx.service: control process exited, code=exited status=1
Jan 22 21:01: systemd[1]: Failed to start nginx - high performance web server.
Jan 22 21:01: systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
nginx -t
nginx: [emerg] "location" directive is not allowed here in /etc/nginx/sites-enabled/seedbox.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed