Fixing local nginx file bug