Fixed nginx handlers