nginx
早速本題。必要なのは以下2点 nginxの設定 config.ruの設定 nginxの設定について nginxには以下のように記述する。 client_max_body_size 2G; upstream app_server { server unix:/var/www/#{ app directory }/tmp/sockets/unicorn.sock fail_timeout=0; } …
早速本題。必要なのは以下2点 nginxの設定 config.ruの設定 nginxの設定について nginxには以下のように記述する。 client_max_body_size 2G; upstream app_server { server unix:/var/www/#{ app directory }/tmp/sockets/unicorn.sock fail_timeout=0; } …