2 Commits
Author SHA1 Message Date
stevensting 1d8da3f2b0 Merge branch 'master' into upload-size 2026-05-12 14:48:18 +00:00
stevensting b97d893ef0 make nginx upload size configurable 2026-05-12 16:46:56 +02:00
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -67,6 +67,7 @@ services:
- STACK_NAME - STACK_NAME
- ROOT_PATH=/var/www/html/public - ROOT_PATH=/var/www/html/public
- DOMAIN - DOMAIN
- MAX_BODY_SIZE=${MAX_BODY_SIZE:-256M}
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"] test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s interval: 30s
+2
View File
@@ -4,6 +4,8 @@ server {
listen [::]:80; listen [::]:80;
server_name localhost; server_name localhost;
client_max_body_size {{ env "MAX_BODY_SIZE" }};
root {{ env "ROOT_PATH" }}; root {{ env "ROOT_PATH" }};
#charset koi8-r; #charset koi8-r;