Corrected nginx rewrite setup