diff --git a/ngnix.conf b/ngnix.conf index 12cdddb..2dc87d5 100644 --- a/ngnix.conf +++ b/ngnix.conf @@ -78,6 +78,7 @@ server { server { listen 80; server_name gitea.redpowerfuture.com; + client_max_body_size 500M; if ($badbot) { return 444; } @@ -88,6 +89,7 @@ server { server { listen 80; server_name minio.redpowerfuture.com; + client_max_body_size 500M; location / { proxy_pass http://__API_HOST__:9001; proxy_http_version 1.1; @@ -106,6 +108,7 @@ server { server { listen 80; server_name consul.redpowerfuture.com; + client_max_body_size 500M; location / { proxy_pass http://__API_HOST__:8500; proxy_http_version 1.1; @@ -120,6 +123,7 @@ server { server { listen 80; server_name meilisearch.redpowerfuture.com; + client_max_body_size 500M; location / { proxy_pass http://__API_HOST__:7700; proxy_http_version 1.1; @@ -133,6 +137,7 @@ server { server { listen 80; server_name pm.redpowerfuture.com; + client_max_body_size 500M; location / { proxy_pass http://__API_HOST__:8080; proxy_http_version 1.1; @@ -146,6 +151,7 @@ server { server { listen 80; server_name jaeger.redpowerfuture.com; + client_max_body_size 500M; location / { proxy_pass http://__API_HOST__:16686; proxy_http_version 1.1; @@ -243,6 +249,7 @@ server { server { listen 443 ssl; server_name gitea.redpowerfuture.com; + client_max_body_size 500M; ssl_certificate /etc/nginx/ssl/gitea.redpowerfuture.com.pem; ssl_certificate_key /etc/nginx/ssl/gitea.redpowerfuture.com.key;