modified nginx conf with https subs to rewrite image hrefs