Redirect away from https: and www.; serve app from dist/.