0

How can I install the man 5 page for nginx.conf? It seems that this hasn't been made available when I installed the webserver through my package manager apt (apt install nginx-full).

Operating System: Ubuntu 18.04.5 LTS
root@host1:~# apropos nginx
nginx (8)            - "HTTP and reverse proxy server, mail proxy server"

I am studying for the LFCS exam. Man pages are allowed. Most study materials teach things falling under the category Configure an HTTP server with apache2. I prefer to use nginx but admittedly look up the directives online. This can't be don't during the exam. So either there is a one-shot command to make the man page locally available or I am pretty lost ;).

apt-get install --reinstall doesn't make the man page available either.

2
  • But the assignment specified apache2 Commented Oct 30, 2021 at 4:29
  • No, the outline specifies HTTP-Server. Nginx is an HTTP-Server. This is a performance based exam and was just a side-note. I am asking how I can make the nginx.conf man page available. Commented Oct 30, 2021 at 4:31

1 Answer 1

1

The nginx.conf man page you linked is for OpenBSD 5.5 (released in 2014) and based on the same site, it was removed in 5.7. This man page is not part of the upstream (and based on git history never was) so it's not available in Ubuntu. It was probably added by OpenBSD as a downstream patch, see the AUTHORS section:

The bulk of the text was semi-automatically converted from the XML sources of http://nginx.org/en/docs/#development to mdoc(7) by Florian Obser [email protected]. The description of the grammar was written by Ingo Schwarze [email protected].

2
  • Ouch this essentialy means that there is no man page for the nginx.conf file? I know that this is not the answer that I asked but is there any alternative to access directive documentation on the CLI? Commented Oct 30, 2021 at 4:34
  • 1
    There are some conf files examples in nginx-doc, but it doesn't cover everything. Commented Oct 30, 2021 at 4:38

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.