Problem with NGINX

Hello,

I will like to access at faraday-server in the internet I follow the manual of github to access , but nginx don’t work, when type systemctl start I have this error:

  • May 07 12:34:04 Fara nginx[1464]: nginx: [emerg] “user” directive is not allowed here in /etc/nginx/sites-enabled/faraex:1
  • May 07 12:46:06 Fara nginx[1550]: nginx: [emerg] “worker_processes” directive is not allowed here in /etc/nginx/sites-enabled/faraex:2
    -May 07 12:47:09 Fara nginx[1561]: nginx: [emerg] “pid” directive is not allowed here in /etc/nginx/sites-enabled/faraex:3

-May 07 12:47:52 Fara nginx[1577]: nginx: [emerg] “load_module” directive is not allowed here in /etc/nginx/modules-enabled/50-mod-http-auth-pam.conf:1

Inside of 50-mod-http-auth-pam.conf I have this:

load_module modules/ngx_http_auth_pam_module.so;

Can anyone help me

Thanks very much and a greeting