Viewing 41 to 50 of 93 items
Archive | Server RSS feed for this section

AWS ELB – How to force HTTPS

In the most common configurations, when running your web app behind ​Nginx or Apache, ​your https:// request will get redirected to ​http://. Sometimes, you may want to rewrite all HTTP requests to HTTPS. The Amazon Elastic Load Balancer (ELB) supports a HTTP header called X-FORWARDED-PROTO. All the HTTPS requests going through the ELB will have  Full Article…

0

Nginx – Fixing 502 bad gateway

Many times we can browse the web and find a 502 bad gateway error at Nginx.   There are a few reasons why you will find this message in  your webserver log, and here we will teach you how to fix it. When you will find 502 bad gateway error: Nginx running as proxy for  Full Article…

0

SSL – v3 goes to the dogs – POODLE kills off protocol

Over the past week, rumours were circulating about a new vulnerability in SSLv3. No details were widely available until today and now we have POODLE, the ‘Padding Oracle On Downgraded Legacy Encryption’ attack. The attack, specifically against the SSLv3 protocol, allows an attacker to obtain the plaintext of certain parts of an SSL connection, such  Full Article…

0

AWS SES – Moving out of the sandbox

To help protect our customers from fraud and abuse and to help you establish your trustworthiness to ISPs and email recipients, we do not immediately grant unlimited Amazon SES usage to new users. New users are initially placed in the Amazon SES sandbox. In the sandbox, you have full access to all Amazon SES email-sending  Full Article…

0

How to integrate Amazon SES with Postfix

A. First method: Postfix was created as an alternative to the widely used Sendmail MTA. For information about Postfix, go tohttp://www.postfix.org. These instructions were tested on a 64-bit Amazon EC2 instance using the following Amazon Machine Image (AMI), which is based on Red Hat: Amazon Linux AMI 2014.09.2 (HVM) (ami-146e2a7c). To launch an Amazon EC2  Full Article…

0

Postfix: change sender in sending messages

Postfix: how to change change sender address in sending messages? Here is the answer, it will rewrite old-address to new-address automatically. You can define file to maps old-address to new-address. /etc/postfix/main.cf: smtp_generic_maps = hash:/etc/postfix/generic /etc/postfix/generic: [email protected] [email protected] Don’t forget to postmap /etc/postfix/generic and run postfix reload Upside: You doesn’t need to requeue the message Downside:  Full Article…

0

Centos – How to know the folder size

Under any Linux system, you want to use the command du. (Disk Usage) Common usage is : du -sh file(s) name(s) or du -sh /path/to/dir/* Replace ‘h’ by ‘k’,’m’ or ‘g’ for Kilobytes, Megabytes and Gigabytes instead of human-readable. With k/m/j switches, you can even pipe the output un sort -n (numeric sort instead of  Full Article…

0