From 666faf5a5ad4b500b101bd9d549bdbae6c22fe9f Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Tue, 30 Nov 2021 16:13:10 +0100 Subject: [PATCH] Describe how to enable dir listings and link following. --- docs/provider-setup.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/provider-setup.md b/docs/provider-setup.md index cdfdd36..da47fca 100644 --- a/docs/provider-setup.md +++ b/docs/provider-setup.md @@ -49,14 +49,25 @@ location /cgi-bin/ { } ``` -Add to `/etc/nginx/sites-available/default`: +Add to `/etc/nginx/sites-enabled/default`: ``` server { - # include fcgiwrap.conf;... + location / { + # Other config + # ... - include fcgiwrap.conf; + # For atomic directory switches + disable_symlinks off; + + # directory listings + autoindex on; + } + + # enable CGI + + include fcgiwrap.conf; } ```