For me path of nginx.conf
was /etc/nginx/nginx.conf
.
In my case I just added client_max_body_size
in http block
and it worked for me
http { ... client_max_body_size 20M; }
Make sure to restart nginx
after changing this config
Related Posts:
- How do I parse JSON with Ruby on Rails? [duplicate]
- 400 Bad Request – request header or cookie too large
- Why does Ruby on Rails use http://0.0.0.0:3000 instead of http://localhost:3000?
- What is difference between Lightsail and EC2?
- Rails 5 ActionController::InvalidAuthenticityToken error
- what does ? ? mean in ruby
- Unable to install gem – Failed to build gem native extension – cannot load such file — mkmf (LoadError)
- Cannot load such file — bcrypt_ext
- How do I remove Permission denied @ rb_sysopen – Gem install error?
- What is the difference between Amazon ECS and Amazon EC2?
- Difference between Amazon EC2 and AWS Elastic Beanstalk
- warning: constant ::Fixnum is deprecated When generating new model
- Rails 4 RoutingError: No Route Matches
- PG::ConnectionBad – could not connect to server: Connection refused
- Rails syntax error : unexpected keyword_ensure, expecting end-of-input
- bcrypt LoadError: Cannot load such file
- Uninitialized constant “Controller Name”
- Ruby: What is the easiest way to remove the first element from an array?
- Ruby String to Date Conversion
- Error “You must specify a region” when running any aws CLI command
- Difference between rake db:migrate db:reset and db:schema:load
- TypeError: no implicit conversion of Symbol into Integer
- An unhandled lowlevel error occurred. The application logs may have details
- Rails button_to vs. HTML Button Tag
- GROUP BY and COUNT using ActiveRecord
- Migrations are pending; run ‘bin/rake db:migrate RAILS_ENV=development’ to resolve this issue
- Uploading a file in Rails
- Generate model in Rails using user_id:integer vs user:references
- An error occurred while installing json (1.8.1), and Bundler cannot continue – Rails
- where is devise implementation of “authenticate_user!” method?
- What is the difference between “rake db:seed” and rake db:fixtures:load”
- Amazon Workspaces VM prevented from logging in to WordPress on DreamHost
- How to force or redirect to SSL in nginx?
- How can I upgrade to Java 1.8 on an Amazon Linux Server?
- What Linux distribution is the Amazon Linux AMI based on?
- Explain what " means
- Terminal error: zsh: permission denied: ./startup.sh
- What does %w(array) mean?
- ActionController::UnknownFormat
- Array to Hash Ruby
- How to improve paralelized computing in AWS EC2?
- Ruby equivalent for Python’s “try”?
- What does “+=” (plus equals) mean?
- Passing parameters in rails redirect_to
- AWS CLI S3 A client error (403) occurred when calling the HeadObject operation: Forbidden
- RubyMine Unit tests – Test Framework quit unexpectedly
- Ruby: kind_of? vs. instance_of? vs. is_a?
- Google app engine or amazon web services
- What is the “right” way to iterate through an array in Ruby?
- HAProxy vs. Nginx
- What is the best way to convert an array to a hash in Ruby
- AWS – Create a record set for an s3 static website
- How to run Ruby code from terminal?
- Difference between “and” and && in Ruby?
- What is java interface equivalent in Ruby?
- Sort hash by key, return hash in Ruby
- What are those pipe symbols for in Ruby?
- AWS s3 api error: specified bucket does not exist
- Ruby ‘require’ error: cannot load such file
- WordPress Multisite, NGINX and WordPress Subdirectory Install
- WordPress tips for speed and performance [closed]
- What issues would you face if you use Nginx
- Homepage loads but all permalinks are 404 when using nginx & PHP-FPM
- WordPress multisite subdirectory on nginx behind reverse proxy
- Installation failed: Could not create directory – CentOS 7
- Intermittently missing pages and posts in WordPress
- After updating to 4.8 permalinks will not work (all 404)
- nginx php-fpm, and auto updates?
- How can I have nginx serve WordPress at /blog?
- nginx wordpress subdirectory Invalid post type
- Nginx + Redirection Plugin breaks Permalinks [closed]
- Fixing WordPress’s Bug (failed to send buffer of zlib output compression) results in “White Screen of Death”
- WordPress file not found and 403 forbidden
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- wp-admin remove part of the url
- Nginx url rewrite rule problem
- charset problem in wordpress because of nginx config
- Second page (and next) of search results redirects me to the home page
- WordPress login redirection not working on Nginx root directory
- How to make wordpress page site.com/content as location for main site.com that is worked on nuxt.js+node?
- WordPress + Nginx (Lightsail) problem with ajax
- Downloaded WP but Nginx home page still showing
- Dockerized WordPress is having Nginx Proxy Issues
- How to solve 404 permalink errors on nginx server
- Can’t get paramaters from url page of content
- W3 Total Cache Minification – Any way to not use php? [closed]
- How to configure nginx for wordpress
- 404 Not Found nginx on wp-admin
- Access denied unless I add trailing /
- WordPress directories not writable after PHP version upgrade
- nginx HTTPS serving with same config as HTTP
- Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?
- Amazon Cloudfront with S3. Access Denied
- How to output variable in nginx log for debugging
- Nginx: How do I forward an HTTP request to another port?
- How to get a .pem file from ssh key pair?
- Why do I need nginx when I have uWSGI
- How to restart Nginx on Mac OS X?
- Nginx redirect one path to another
- Serve static files via a subdomain on a wordpress