forked from e621ng/e621ng
nginx.conf: fix inconsistent client_max_body_size.
This commit is contained in:
parent
5ad06a4034
commit
feaad0bbd0
@ -187,7 +187,8 @@ module Danbooru
|
||||
1_000
|
||||
end
|
||||
|
||||
# Maximum size of an upload.
|
||||
# Maximum size of an upload. If you change this, you must also change
|
||||
# `client_max_body_size` in your nginx.conf.
|
||||
def max_file_size
|
||||
35.megabytes
|
||||
end
|
||||
|
@ -7,7 +7,7 @@ server {
|
||||
index index.html;
|
||||
access_log /var/log/nginx/danbooru.access.log;
|
||||
error_log /var/log/nginx/danbooru.error.log;
|
||||
client_max_body_size 30m;
|
||||
client_max_body_size 35m;
|
||||
location /stylesheets {
|
||||
expires max;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user