mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Modify php and nginx to change upload file size
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ Homestead.yaml
|
|||||||
.rnd
|
.rnd
|
||||||
/.expo
|
/.expo
|
||||||
/.vscode
|
/.vscode
|
||||||
|
/docker-compose/db/data
|
||||||
@ -13,6 +13,7 @@ services:
|
|||||||
working_dir: /var/www/
|
working_dir: /var/www/
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
|
- ./docker-compose/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:rw,delegated
|
||||||
networks:
|
networks:
|
||||||
- crater
|
- crater
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
|
client_max_body_size 64M;
|
||||||
listen 80;
|
listen 80;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
error_log /var/log/nginx/error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|||||||
3
docker-compose/php/uploads.ini
Normal file
3
docker-compose/php/uploads.ini
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
file_uploads = On
|
||||||
|
upload_max_filesize = 64M
|
||||||
|
post_max_size = 64M
|
||||||
Reference in New Issue
Block a user