This commit is contained in:
antv
2026-08-04 19:56:46 +07:00
parent eee82363ed
commit e249f08ecc
3 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ services:
working_dir: /var/www/html
volumes:
- ..:/var/www/html
- ./php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
networks:
- thankcard-system-network
@@ -18,7 +19,7 @@ services:
image: nginx:1.25-alpine
container_name: thankcard-system-nginx
ports:
- "8888:80"
- "80:80"
volumes:
- ..:/var/www/html
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
+1
View File
@@ -1,6 +1,7 @@
server {
listen 80;
server_name localhost;
client_max_body_size 20M;
root /var/www/html/public;
index index.php index.html;
+2
View File
@@ -0,0 +1,2 @@
upload_max_filesize = 20M
post_max_size = 20M