falcon-prediction-app
falcon-prediction-app copied to clipboard
nginx.conf not in accepted format
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-12-12 11:24:10 CET; 5ms ago
Docs: man:nginx(8)
Process: 6580 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Dec 12 11:24:10 GPU10 systemd[1]: Starting A high performance web server and a reverse proxy server...
Dec 12 11:24:10 GPU10 nginx[6580]: nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:1
Dec 12 11:24:10 GPU10 nginx[6580]: nginx: configuration file /etc/nginx/nginx.conf test failed
Dec 12 11:24:10 GPU10 systemd[1]: nginx.service: Control process exited, code=exited status=1
Dec 12 11:24:10 GPU10 systemd[1]: nginx.service: Failed with result 'exit-code'.
Dec 12 11:24:10 GPU10 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
"server" directive is not allowed in the first line