php - 413 Request Entity Too Large nginx -


i trying increase upload limit on php application 512mb changing nginx.conf follows -

#user  nginx; worker_processes  1;  #error_log  /var/log/nginx/error.log; #error_log  /var/log/nginx/error.log  notice; #error_log  /var/log/nginx/error.log  info;  #pid        /var/run/nginx.pid;   events {     worker_connections  1024; }   http {     include       mime.types;     default_type  application/octet-stream;     client_max_body_size 512m;     #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '     #                  '$status $body_bytes_sent "$http_referer" '     #                  '"$http_user_agent" "$http_x_forwarded_for"';      #access_log  /var/log/nginx/access.log  main;      sendfile        on;     #tcp_nopush     on;      #keepalive_timeout  0;     keepalive_timeout  6500;     #tcp_nodelay        on;      #gzip  on;     #gzip_disable "msie [1-6]\.(?!.*sv1)";      server_tokens off;      include /etc/nginx/conf.d/*.conf; } 

but still seems capped @ 120mb

can please make changes accept files beyond 120mb

thank you..

look @ php.ini file:

; maximum allowed size uploaded files. upload_max_filesize = 512m  ; must greater or equal upload_max_filesize post_max_size = 512m 

it need match nginx config


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -