Example: 1.cd /usr/local/nginx-1.16.1/src/thhp/modules 2.vi ngx_http_autoindex_module.c 3.cd /usr/local/nginx-1.16.1 4.make 5.make install Posted at Nginx Forum: https://forum.nginx.org/read.php?2,124400,286011#msg-286011