title: Simple healthcheck endpoint in nginx server container
body: <p>I have a docker container running with nginx server.</p>
  
  <p>I want to provide a rest-interface/endpoint to check the health of the server and container. E.g. GET <a href="http://container.com/health/" rel="nofollow noreferrer">http://container.com/health/</a> which delivers "true"/OK or "false"/NOK. </p>
  
  <p>What is the simplest and quickist solution or best practice? </p>
  
  <p>P.S. The server serves as a file browser, i.e., with enabled Directory Index Listing.</p>