nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2020/12/02 14:03:55 [warn] 21215#21215: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2020/12/02 14:03:55 [emerg] 21215#21215: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64
nginx: configuration file /etc/nginx/nginx.conf test failed
authenticationUser = () => {
return fetch('http://localhost:3000/signin', {
method: 'POST',
credentials: 'include',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
email: formAuhorization.email.value,
password: formAuhorization.password.value
})
})
.then(res => res.ok ? res.json() : Promise.reject(res.status))
.catch(err => console.log(err))
};