Merge pull request #222 from jpmurray/php-upload

[Docker] Modify php and nginx config to change upload file size
This commit is contained in:
Mohit Panjwani
2020-06-08 17:40:52 +05:30
committed by GitHub
4 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ Homestead.yaml
.rnd
/.expo
/.vscode
/docker-compose/db/data

View File

@ -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

View File

@ -1,4 +1,5 @@
server {
client_max_body_size 64M;
listen 80;
index index.php index.html;
error_log /var/log/nginx/error.log;

View File

@ -0,0 +1,3 @@
file_uploads = On
upload_max_filesize = 64M
post_max_size = 64M