Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • By "redirection", do you mean a reverse proxy?
    – gronostaj
    Commented Jul 5, 2021 at 8:43
  • Yes, I've edited the question to include the nginx configuration. Commented Jul 5, 2021 at 8:50
  • "What is the proper way to monitor if my websites are available?" - Please consider elaborating on what you mean by "available". A 404 is different than a 503 which is different from, say, no response at all. Commented Jul 6, 2021 at 9:56
  • To make it clear I want to get the final response code after the redirection, because now instead of 404, 503, 200 ... I always receive 301 Commented Jul 6, 2021 at 10:02