Update README.md

This commit is contained in:
2024-10-06 08:11:02 +00:00
parent 5d13827f94
commit e4505d2da2

View File

@@ -50,10 +50,26 @@ avoid any timeout response
```sh ```sh
/etc/nginx/sites_available/exmapl.com /etc/nginx/sites_available/exmapl.com
``` ```
| Variable | Value | Condtion | Context | | Variable | Value | Condtion | Context |
|:---------------------------------:|:--------:|:------------------------------------------------------------------:|:-----------------------:| |:---------------------:|:-----:|:------------:|:------------------------:|
| proxy_connect_timeout | `120` | no condition | `http, server, location`| | proxy_connect_timeout | `120` | no condition | `http, server, location` |
| proxy_send_timeout | `120` | no condition | `http, server, location`| | proxy_send_timeout | `120` | no condition | `http, server, location` |
| proxy_read_timeout | `120` | no condition | `http, server, location`| | proxy_read_timeout | `120` | no condition | `http, server, location` |
| send_timeout | `120` | no condition | `http, server, location`| | send_timeout | `120` | no condition | `http, server, location` |
| fastcgi_read_timeout | `300` | no condition | `location` | | fastcgi_read_timeout | `300` | no condition | `location` |
| client_max_body_size | `10M` | no condition | `http` |
<img src="https://skillicons.dev/icons?i=php" width="50" style="vertical-align: middle;"/> **Configuration**</span>
change php.ini through this path
```sh
/etc/php/8.1/fpm/php.ini
```
set this values
| Variable | Value | Condtion | Context |
|:-------------------:|:-----:|:------------:|:-------------:|
| post_max_size | `10M` | no condition | fpm : php.ini |
| upload_max_filesize | `10M` | no condition | fpm : php.ini |