fixing nginx ssl configuration