Skip to content

Commit

Permalink
fix client_max_body_size
Browse files Browse the repository at this point in the history
  • Loading branch information
takayukii committed Aug 14, 2015
1 parent 38ba1c9 commit fea943f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nodeproxy/templates/default/nodeproxy.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

client_max_body_size 4M;
}
}
# 44380 (HTTPS)
Expand All @@ -22,6 +24,8 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

client_max_body_size 4M;
}
}
# WebSocket
Expand Down

0 comments on commit fea943f

Please sign in to comment.