Seting pada Nginx
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
Jika Tidak Bisa Upload File Besar Ubah Seperti Berikut :
server {
listen 80;
server_name example.com;
client_max_body_size 10M;
client_body_timeout 120s;
Semoga Bermanfaat
0 komentar
Posting Komentar