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:
parent
f739e357d2
commit
717834023b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user