m
This commit is contained in:
@@ -8,6 +8,7 @@ services:
|
|||||||
working_dir: /var/www/html
|
working_dir: /var/www/html
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/var/www/html
|
- ..:/var/www/html
|
||||||
|
- ./php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- thankcard-system-network
|
- thankcard-system-network
|
||||||
@@ -18,7 +19,7 @@ services:
|
|||||||
image: nginx:1.25-alpine
|
image: nginx:1.25-alpine
|
||||||
container_name: thankcard-system-nginx
|
container_name: thankcard-system-nginx
|
||||||
ports:
|
ports:
|
||||||
- "8888:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/var/www/html
|
- ..:/var/www/html
|
||||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
client_max_body_size 20M;
|
||||||
|
|
||||||
root /var/www/html/public;
|
root /var/www/html/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
upload_max_filesize = 20M
|
||||||
|
post_max_size = 20M
|
||||||
Reference in New Issue
Block a user