Apexit#03 Adding SSL will make your site more visible


What is SSL?

How do I get SSL Certificate?

server {
server_name 'example.com';
listen 443 ssl;
root /var/www/apps/SR-PLATFORM/shared/public; ssl_certificate /etc/nginx/ssl/example.chained.crt;
ssl_certificate_key /etc/nginx/ssl/example.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; always";(...)
server {
listen 80;
server_name 'example.com';
# Discourage deep links by using a permanent redirect to home page of HTTPS site
#return 301 https://$host;
# Alternatively, redirect all HTTP links to the matching HTTPS page
return 301 https://$server_name$request_uri;


openssl rsa -noout -modulus -in example.key | openssl md5
openssl x509 -noout -modulus -in example.chained.crt | openssl md5
cat example.com.crt gd_bundle-g2-g1.crt > example.com.chained.crt

Some useful resources:


Call To Action

About Author

helping companies to take the stress out of software development and make their business shine.