PuTTY Server Refused Our Key
Read the article
Read the article
Clear concept about SSH key in very easy way Video for SSH key
Copy files on service to local directory: You must be in local bash terminal to conduct this command, not when you are in ssh! # scp username@domain(or ip):remote-file-path local-storage-path example…
Step 1 — Installing Certbot sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-nginx for ubuntu 20.4: sudo apt-get install python3-certbot-nginx Step 2 — Setting up NginxAt first need…
Upload the source fileconfigure nginx server as server { listen 80; server_name example.com; root /var/www/html/example/public; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; index index.php; charset utf-8; location…
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 command: apt-get install software-properties-common…
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 systemctl reload nginx.service
Wordpress multisite in Nginx server We need to configure the configuration file as bellow server { ##DM - uncomment following line for domain mapping #listen 80 default_server; server_name yourdomain.com;…
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 -tstep 5. Restart Nginx…