m
This commit is contained in:
@@ -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,6 +1,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
client_max_body_size 20M;
|
||||
|
||||
root /var/www/html/public;
|
||||
index index.php index.html;
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
upload_max_filesize = 20M
|
||||
post_max_size = 20M
|
||||
Reference in New Issue
Block a user