make nginx upload size configurable #12
@ -67,6 +67,7 @@ services:
|
||||
- STACK_NAME
|
||||
- ROOT_PATH=/var/www/html/public
|
||||
- DOMAIN
|
||||
- MAX_BODY_SIZE=${MAX_BODY_SIZE:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
|
||||
@ -4,6 +4,8 @@ server {
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
client_max_body_size {{ env "MAX_BODY_SIZE" }};
|
||||
|
||||
root {{ env "ROOT_PATH" }};
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
Reference in New Issue
Block a user