QuestionQ82

HTTP Services

Which directive in an Nginx server configuration block specifies the filesystem path from which the server’s content is served?

  • A location
  • B htdocs
  • C DocumentRoot
  • D root
  • E base_dir
Explanation

The Nginx root directive sets the filesystem directory that Nginx uses as the base path when locating content to serve.

Community Discussion

No comments yet. Be the first to start the discussion!