nginx.conf: fix inconsistent client_max_body_size.

This commit is contained in:
evazion
2018-02-17 16:07:56 -06:00
parent 5ad06a4034
commit feaad0bbd0
2 changed files with 3 additions and 2 deletions

View File

@@ -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