Hi Maxim, The problem was located somewhere between my seat and the computer screen. :) I forgot to add the error_page 404 /404.html; condition into ssl server... doh. Regards, Floren Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229365,229391#msg-229391