How to setup SFTP-only user account on centos7
SFTP (SSH File Transfer Protocol, also known as Secure FTP) is a popular method for securely transferring files over remote systems. It was designed as an extension of the Secure Shell protocol (SSH) version 2.0 to enhance secure file transfer capabilities. It supports file access, file transfer, and file management functionalities without command or data channels.
How to block IPs with NGINX
Sometimes you may need to block IP addresses to protect your website from malicious attacks such as DOS & DDOS.
Enabling the Nginx Directory Index Listing
Directory listing is a feature that when enabled the web servers list the content of a directory when there is no index file (e.g. index.php or index.html) present.
How to enable browser caching in NGINX
Caching will improve speeds and browsing. Once the data is stored, visitors to your website will have a better experience as they will be able to move through your site faster. Also this is a great way to render CSS, JS, Image files from client browser without sending request to the web server.
Steps to enable leverage browser caching in NGINX.
How to resolve “Failed to set locale, defaulting to C when using yum ” error
A locale is a set of environmental variables that defines the language, country, and character encoding settings for your applications and shell session on a Linux system.
Locale affects things such as the time/date format, the first day of the week, numbers, currency and many other values formatted in accordance with the language or region/country you set on a Linux system.
To solve this problem:
How to troubleshoot WP-CRON failure
WP Cron is WordPress internal mechanism for scheduling tasks. It has nothing to do with Linux cron. Linux cron is activated by an actual operating system scheduler. WP cron is activated every time someone visits your site and then it checks a listing of jobs to see who should get executed.
How to fix the “SSH Remote Host Identification Has Changed” error
In this tutorial, I will try to explain how you can fix the SSH error to the remote machine which has a different digital fingerprint now as compared to the previous fingerprints.
WP-CLI common commands
WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser.
Redirect from non www to www URL on Nginx
At times we come across requests from customers when they would like to redirect their non www URLs to www URLs. For example if a customer asks to force redirect his site from https://mylinuxtips.info to https://mylinuxtips.info To perform this setup on Nginx webserver, follow below steps:
Enable SPDY with NGINX on Centos 6 Servers
The SPDY protocol has been created by Google to load HTTPS pages faster and improving web security.
It will work only when you have running site with SSL.