Skip to content

Commit

Permalink
Update LimitRequestBody for apache config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Aug 29, 2023
1 parent b52818a commit 7b5bd31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/web/config/cgimap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# apache config you won't be able to get OAuth to work

# Set maximum allowable size for an HTTP request body to 100 MB
LimitRequestBody 100971520
LimitRequestBody 104857600

# Enable rewrites
RewriteEngine on
Expand Down
2 changes: 1 addition & 1 deletion images/web/config/production.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Tell Apache and Passenger where your app's 'public' directory is
DocumentRoot /var/www/public
PassengerRuby /usr/bin/ruby

LimitRequestBody 104857600
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
# Development mode in case domain is localhost
Expand Down

0 comments on commit 7b5bd31

Please sign in to comment.