nginx 413 error fix - Increase Max Post Size

This commit is contained in:
Rachit Bhargava
2024-02-23 17:40:18 +00:00
committed by Andrew Bastin
parent 21d4c85c00
commit 26436a6c6d
6 changed files with 15 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ data:
server { server {
# -------------------------- # --------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------------- # -------------------------------
listen 80 default; ## listen for ipv4; this line is default and implied listen 80 default; ## listen for ipv4; this line is default and implied
@@ -51,7 +51,7 @@ data:
server { server {
#----------------------------- #-----------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------ # ------------------------
client_body_timeout 1200; client_body_timeout 1200;
client_header_timeout 600; client_header_timeout 600;
@@ -201,7 +201,7 @@ data:
localhost.conf: | localhost.conf: |
server { server {
client_max_body_size 100m; client_max_body_size 512m;
listen 80; listen 80;
listen [::]:80; listen [::]:80;

View File

@@ -31,7 +31,7 @@ data:
server { server {
# -------------------------- # --------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------------- # -------------------------------
listen 80 default; ## listen for ipv4; this line is default and implied listen 80 default; ## listen for ipv4; this line is default and implied
@@ -51,7 +51,7 @@ data:
server { server {
#----------------------------- #-----------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------ # ------------------------
listen 80; listen 80;
@@ -197,7 +197,7 @@ data:
localhost.conf: | localhost.conf: |
server { server {
client_max_body_size 100m; client_max_body_size 512m;
listen 80; listen 80;
listen [::]:80; listen [::]:80;

View File

@@ -31,7 +31,7 @@ data:
server { server {
# -------------------------- # --------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------------- # -------------------------------
listen 80 default; ## listen for ipv4; this line is default and implied listen 80 default; ## listen for ipv4; this line is default and implied
@@ -51,7 +51,7 @@ data:
server { server {
#----------------------------- #-----------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------ # ------------------------
listen 80; listen 80;
@@ -197,7 +197,7 @@ data:
localhost.conf: | localhost.conf: |
server { server {
client_max_body_size 100m; client_max_body_size 512m;
listen 80; listen 80;
listen [::]:80; listen [::]:80;

View File

@@ -31,7 +31,7 @@ data:
server { server {
# -------------------------- # --------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------------- # -------------------------------
listen 80 default; ## listen for ipv4; this line is default and implied listen 80 default; ## listen for ipv4; this line is default and implied
@@ -51,7 +51,7 @@ data:
server { server {
#----------------------------- #-----------------------------
client_max_body_size 100m; client_max_body_size 512m;
# ------------------------ # ------------------------
listen 80; listen 80;
@@ -197,7 +197,7 @@ data:
localhost.conf: | localhost.conf: |
server { server {
client_max_body_size 100m; client_max_body_size 512m;
listen 80; listen 80;
listen [::]:80; listen [::]:80;

View File

@@ -691,7 +691,7 @@ auto_globals_jit = On
; Its value may be 0 to disable the limit. It is ignored if POST data reading ; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading. ; is disabled through enable_post_data_reading.
; http://php.net/post-max-size ; http://php.net/post-max-size
post_max_size = 100M post_max_size = 512M
; Automatically add files before PHP document. ; Automatically add files before PHP document.
; http://php.net/auto-prepend-file ; http://php.net/auto-prepend-file
@@ -843,7 +843,7 @@ file_uploads = On
; Maximum allowed size for uploaded files. ; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize ; http://php.net/upload-max-filesize
upload_max_filesize = 100M upload_max_filesize = 512M
; Maximum number of files that can be uploaded via a single request ; Maximum number of files that can be uploaded via a single request
max_file_uploads = 50 max_file_uploads = 50

View File

@@ -1 +1 @@
RELEASE=release-1.13 RELEASE=release-1.17