Answers for "cannot send file to server with nginx"

0

cannot send file to server with nginx

Your nginx worker has no permissions to write in nginx directory.
so you have two options:

1. give the nginx permisions:
  chmod -R 777 /var/lib/nginx/
  
2. change the nginx user to nginx(better option).
  go to to /etc/nginx/nginx.conf
  and change the user to nginx.
Posted by: Guest on September-09-2021

Browse Popular Code Answers by Language