mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Merge pull request #222 from jpmurray/php-upload
[Docker] Modify php and nginx config to change upload file size
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ Homestead.yaml
|
||||
.rnd
|
||||
/.expo
|
||||
/.vscode
|
||||
/docker-compose/db/data
|
||||
@ -13,6 +13,7 @@ services:
|
||||
working_dir: /var/www/
|
||||
volumes:
|
||||
- ./:/var/www
|
||||
- ./docker-compose/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:rw,delegated
|
||||
networks:
|
||||
- crater
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
server {
|
||||
client_max_body_size 64M;
|
||||
listen 80;
|
||||
index index.php index.html;
|
||||
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