1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-02 03:37:40 +02:00

fix nginx upload max size

This commit is contained in:
kev 2015-09-24 09:20:57 +08:00
parent f739e357d2
commit 717834023b
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,10 @@ http {
server {
listen 80;
server_name _;
client_max_body_size 4M;
client_body_buffer_size 128k;
root /var/www/html/upload/public;
try_files $uri @php_index;

View File

@ -14,6 +14,10 @@ http {
server {
listen 80;
server_name _;
client_max_body_size 4M;
client_body_buffer_size 128k;
root /var/www/html;
index index.php;