Enable http2 in Digitalocean nginx linux server
Edit /etc/nginx/sites-available/your_domain Have to add http2 after ssl as bellow Add # tag before bellow line Now have to add bellow lines after above line 2....
Software Engineer
Edit /etc/nginx/sites-available/your_domain Have to add http2 after ssl as bellow Add # tag before bellow line Now have to add bellow lines after above line 2....
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. sudo nginx -t 4. sudo systemctl...
Easy way to solve in nginx server 1. Suppose the configuration as 2. Now we need to add The final config should like 3. Then need...
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 www.example.com;Please follow the configuration option in...
Upload the source file configure nginx server as
First, you will need to add PHP repository to your server to install multiple versions of PHP. You can add Ondrej PHP repository with the following...
Login as root Run the command sudo nano /etc/nginx/nginx.conf Add the line under http # set client body size to 64M client_max_body_size 64M; Restart nginx sudo...
WordPress multisite in Nginx server We need to configure the configuration file as bellow
sudo chown -R www-data:www-data /var/www/example.com
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 /etc/nginx/sites-enabled/example.comstep 4. Test configuration sudo nginx...
Recent Comments