You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-08 22:27:53 +02:00
fix nginx upload max size
This commit is contained in:
@@ -14,6 +14,10 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
|
client_max_body_size 4M;
|
||||||
|
client_body_buffer_size 128k;
|
||||||
|
|
||||||
root /var/www/html/upload/public;
|
root /var/www/html/upload/public;
|
||||||
try_files $uri @php_index;
|
try_files $uri @php_index;
|
||||||
|
|
||||||
|
@@ -14,6 +14,10 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
|
client_max_body_size 4M;
|
||||||
|
client_body_buffer_size 128k;
|
||||||
|
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user