• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

No Uploads with nginx

Evilmachine

Basic Pleskian
Hi there,


i have enabled nginx but File Uploads are not working. Every time i want to upload a file on any Website i get a Error Message

500 Internal Server Error

What can i do to use nginx with FIleuploads?
 
Hi,
We need more details in order to give you recommendations.

1) Is everything works fine with disabled Nginx proxy?

2) Please attach here your server's Nginx error log file: /var/log/nginx/error.log
 
Hi,

Here is the LS output

/var/lib/nginx/:
total 28K
22153857 4.0K drwx------ 7 nginx nginx 4.0K Jun 27 09:54 .
15466748 4.0K drwxr-xr-x 67 root root 4.0K Sep 29 12:44 ..
22152985 4.0K drwx------ 2 www-data root 4.0K Jun 29 12:27 body
22154719 4.0K drwx------ 2 www-data root 4.0K Jun 27 09:54 fastcgi
22154529 4.0K drwx------ 12 www-data root 4.0K Jun 27 10:02 proxy
22154721 4.0K drwx------ 2 www-data root 4.0K Jun 27 09:54 scgi
22154720 4.0K drwx------ 2 www-data root 4.0K Jun 27 09:54 uwsgi

/var/lib/nginx/proxy/:
total 48K
22154529 4.0K drwx------ 12 www-data root 4.0K Jun 27 10:02 .
22153857 4.0K drwx------ 7 nginx nginx 4.0K Jun 27 09:54 ..
22942343 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:15 0
22288072 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:09 1
22288074 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:09 2
22422883 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:10 3
22422885 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:10 4
22422887 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:11 5
22549400 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:11 6
22678940 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:11 7
22810670 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:11 8
22810680 4.0K drwx------ 102 nginx nginx 4.0K Jun 28 10:13 9


In Apache Uploads are working, so i dont think this is an php.ini error.

And selinux is not installed on my Server.

Its a Debian 6.0.5 Server with 2.6.32-5 kernel.
 
Back
Top