mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2026-04-23 08:31:16 -04:00
fix: Increase nginx client_max_body_size to 10MB for larger diagrams
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
# Allow larger request bodies (up to 10MB)
|
||||
client_max_body_size 10M;
|
||||
|
||||
# Serve static files
|
||||
location / {
|
||||
@@ -19,5 +22,10 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# Allow larger bodies for API requests
|
||||
client_max_body_size 10M;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_connect_timeout 75s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user