Skip to content

Instantly share code, notes, and snippets.

View bajpangosh's full-sized avatar
🛰️
Working from Moon

Bajpan Gosh bajpangosh

🛰️
Working from Moon
View GitHub Profile
@bajpangosh
bajpangosh / Install and Test Sendmail on Ubuntu VPS.txt
Created June 15, 2016 06:44
Install and Test Sendmail on Ubuntu VPS
sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime
@bajpangosh
bajpangosh / WordPress+Cloudflare Full SSL - Nginx Configuration
Created May 26, 2016 07:24
WordPress+Cloudflare Full SSL - Nginx Configuration
# HTTP Server
server {
listen 80;
server_name yourwebsitename.com www.yourwebsitename.com;
rewrite ^ https://$server_name$request_uri permanent;
}
# HTTPS Server
server {
listen 443;