Category: Uncategorized

Moving on

I started to write my random notes on a dedicated site at TinyWP.com . I also run TinyWP.in to write about WordPress performance. So, I am unlikely to maintain this domain going forward. But, I will keep this as long as I can, as it helps myself to refer some of my old notes from time to time.

I might come back here and write something that doesn’t fit any of the other domains! Until, then, bye for now!

SSL – Links

SSL  can be tricky at times. Here are some of the useful links that may help install and configure SSL correctly on various applications and servers.

Mixed Content Warning:

Troubleshooting Mixed Content Warnings with HTTPS

SSL CA:

LetsEncrypt.org

StartSSL

WP Plugins:

Really Simple SSL

nginx error: (99: Cannot assign requested address)

Ref: http://stackoverflow.com/a/13141104/1004587

With Amazon EC2 and elastic IPs, the server doesn’t actually know its IP as with most any other server.

So you need to tell your linux to allow processes to bind to the non-local address. Just add the following line into /etc/sysctl.conf file:

# allow processes to bind to the non-local address
# (necessary for apache/nginx in Amazon EC2)
net.ipv4.ip_nonlocal_bind = 1

and then reload your sysctl.conf by:

$ sysctl -p /etc/sysctl.conf

which will be fine on reboots.