Welcome! Log In Create A New Profile

Advanced

Re: I need help with our NGINX set up

All files from this thread

File Name File Size   Posted by Date  
error eprints on nginx.jpg 299.9 KB open | download zen zenitram 04/23/2024 Read message
zen zenitram
May 01, 2024 01:38AM
We dont use PHP, our system use perl cgi.
So the problem is in cgi?


On Wed, May 1, 2024, 8:57 AM Dan Swaney <justdan23@gmail.com> wrote:

> The clue is with the URL which failed.
>
> From first look, you appear to be using a FAST CGI URL with PHP?
>
> Just a wild guess, but try using:
> ```
>
> fastcgi_param PHP_VALUE "upload_max_filesize = 500M \n post_max_size=500M"
>
> ```
>
> Here is a reference link mentioning it:
> https://serverfault.com/a/704209
>
> On Tue, Apr 23, 2024, 4:49 AM zen zenitram <quickfire28@gmail.com> wrote:
>
>> Good day!
>>
>> Here is what happen when we try to upload file more than 128 kb. Too
>> check if it is on server side we run the server without nginx and it can
>> upload larger size files.
>>
>> Thank you!
>>
>>
>>
>> On Fri, Apr 19, 2024 at 6:18 PM Reinis Rozitis via nginx <nginx@nginx.org>
>> wrote:
>>
>>> > It only accepts maximum of 128 kb of data, but the
>>> client_max_body_size 500M;. Is there a way to locate the cause of error..
>>>
>>> Can you actually show what the "error" looks like?
>>>
>>> The default value of client_max_body_size is 1M so the 128Kb limit most
>>> likely comes from the backend application or server which handles the POST
>>> request (as an example - PHP has its own post_max_size /
>>> upload_max_filesize settings).
>>>
>>>
>>>
>>> p.s. while it's unlikely (as you specify the settings in particular
>>> location blocks) since you use wildcard includes it is always good to check
>>> with 'nginx -T' how the final configuration looks like. Maybe the request
>>> isn't handled in server/location block where you expect it ..
>>>
>>> rr
>>> _______________________________________________
>>> nginx mailing list
>>> nginx@nginx.org
>>> https://mailman.nginx.org/mailman/listinfo/nginx
>>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> https://mailman.nginx.org/mailman/listinfo/nginx
>>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

I need help with our NGINX set up

zen zenitram April 19, 2024 03:36AM

RE: I need help with our NGINX set up

Reinis Rozitis via nginx April 19, 2024 06:20AM

Re: I need help with our NGINX set up Attachments

zen zenitram April 23, 2024 04:50AM

Re: I need help with our NGINX set up

Dan Swaney April 30, 2024 08:58PM

Re: I need help with our NGINX set up

zen zenitram May 01, 2024 01:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready