fix "public" folder not declared in nginx and cheyenne