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; } ```