Edit /etc/nginx/sites-available/your_domain Have to add http2 after ssl as bellow Add # tag before bellow line Now have to add
Continue readingCategory: Nginx
SSL issue in nginx
BIO_new_file(“/etc/letsencrypt/live/domain.com/fullchain.pem”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/etc/letsencrypt/live/domain.com/fullchain.pem’,’r’) Solutions Find where the issue 2. fix or reset them 3.
Continue readingupstream sent too big header while reading response header from upstream
Easy way to solve in nginx server 1. Suppose the configuration as 2. Now we need to add The final
Continue readingHTTPS in Digital ocean
Step 1 — Installing Certbot Step 2 — Setting up NginxAt first need to update nginx configuration in /etc/nginx/sites-available/example.comserver_name example.com
Continue readingDeploy lumen 8 or laravel 8 in nginx
Upload the source file configure nginx server as
Continue readingMultiple PHP Versions on Ubuntu 18.04
First, you will need to add PHP repository to your server to install multiple versions of PHP. You can add
Continue reading413 (Request Entity Too Large) in nginx
Login as root Run the command sudo nano /etc/nginx/nginx.conf Add the line under http # set client body size to
Continue readingWordPress multisite in Nginx server
WordPress multisite in Nginx server We need to configure the configuration file as bellow
Continue readingUnable to install WordPress plugins in Digital Ocean
sudo chown -R www-data:www-data /var/www/example.com
Continue reading
WordPress permalink in Nginx server
Step 1. Edit /etc/nginx/site-available/example.comlocation / {try_files $uri $uri/ /index.php?q=$uri$args;}step 2 : login to serverstep 3. Run this ln -s /etc/nginx/sites-available/example.com
Continue reading