mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
allow uploading of large images
This commit is contained in:
parent
e9a1ccad1f
commit
4ccd733c2f
1 changed files with 3 additions and 3 deletions
|
@ -8,6 +8,9 @@ server {
|
|||
|
||||
root $APP_DIR/priv/static;
|
||||
|
||||
client_max_body_size 30M;
|
||||
client_body_buffer_size 128k;
|
||||
|
||||
location ~ ^/img/view/(.+)/([0-9]+).*\.([A-Za-z]+)$ {
|
||||
expires max;
|
||||
add_header Cache-Control public;
|
||||
|
@ -57,9 +60,6 @@ server {
|
|||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
client_max_body_size 30m;
|
||||
client_body_buffer_size 128k;
|
||||
|
||||
proxy_connect_timeout 90;
|
||||
proxy_send_timeout 90;
|
||||
proxy_read_timeout 90;
|
||||
|
|
Loading…
Reference in a new issue