Category Archives: HTTP Servers

Enabling SPDY and Strict-Transport-Security to NginX in Ubuntu 14.04

In Ubuntu 14.04 NginX is been compiled with the SPDY capability. To use it one must enable it inside the server {…} block for each virtual host. eg.server { server_name mprofi.com www.mprofi.com; root /var/www/mprofi.com; index index.php; # # Added to handle HTTP and HTTPS and SPDY listen 80; listen 443 ssl spdy; ssl_certificate /etc/letsencrypt/live/www.mysite.com/fullchain.pem; ssl_certificate_key … Continue reading Enabling SPDY and Strict-Transport-Security to NginX in Ubuntu 14.04

XAMPP – Port 80 Conflict

XAMPP – Port 80 Conflict The Final Solution! XAMPP has its own built in netstats button, but you can DIY like this: netstat -ano | find “:80” Shows PID using ports with :80 In my case it was http.exe which is responsible for 6 services in all. I first tried to disable in registry, and … Continue reading XAMPP – Port 80 Conflict

Issue free and CA signed SSL certificates for web servers from LetsEncrypt

Introduction: SSL Certificates provide two functions: 1. Authentication 2. Encryption Encryption can be achieved without authentication but, for some reason, someone decided to join them together in one certificate. It seem to make sense for banks and serious e-commerce sites which need to be properly authenticated. Therefore when the HTTPS protocol got developed it was … Continue reading Issue free and CA signed SSL certificates for web servers from LetsEncrypt

Configuring HAproxy load balancer in Ubuntu 14.04

Goal: In this example HTTP requests are proxied directly as HTTP requests to the HTTP web servers. In the case of HTTPS requests, they are handled with the certificates by HAproxy and then proxied to the web servers as HTTP requests. SSLCertificates: The certificates for all virtualhosts being proxied are stored as one PEM format … Continue reading Configuring HAproxy load balancer in Ubuntu 14.04