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