Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to increase nginx maximum file upload size

sudo nano /etc/nginx/nginx.conf
# edit/add the following line 
client_max_body_size 8M; # put the size that is enough
sudo nano /etc/php/php.ini
# edit the following
upload_max_filesize=8M # also put what is enough
Comment

nginx max file upload size

#just need to set these params in php-from file: /etc/php/7.2/fpm/php.ini
upload_max_filesize = 100M
post_max_size = 100M

#may need to increase this param in /etc/nginx/nginx.conf if its exists as is limited
client_max_body_size 100m;
Comment

PREVIOUS NEXT
Code Example
Shell :: Xcode is not installed or not configured properly. Download, install, set it up and run this script again 
Shell :: zsh: no such file or directory: /usr/local/bin/composer.phar 
Shell :: flush dns cache mac os 
Shell :: uninstall webpack globally 
Shell :: gcloud get projects 
Shell :: grafana cli restart 
Shell :: adb port issue fix 
Shell :: ubuntu install htop 
Shell :: eslint fix 
Shell :: how to close port 3000 running 
Shell :: how to install gulp 
Shell :: how to install iis web using powershell 
Shell :: install folium using anaconda 
Shell :: install dotnet 6 on ubuntu 
Shell :: hot to remove .env from git 
Shell :: install postman in ubuntu 
Shell :: update submodule github 
Shell :: flask login install 
Shell :: batch remove quotes 
Shell :: change folder permisson in mac 
Shell :: bash cat remove special characters 
Shell :: git undo amend 
Shell :: restart network service kali 
Shell :: how reset commit git with losing changes 
Shell :: how to uninstall vlc in ubuntu 
Shell :: git change commit message of old commit 
Shell :: codineer digital 
Shell :: git overwrite urlk 
Shell :: install yarn in react native 
Shell :: youtube music download ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =