1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Describe how to enable dir listings and link following.

This commit is contained in:
Sascha L. Teichmann 2021-11-30 16:13:10 +01:00
parent e956455592
commit 666faf5a5a

View file

@ -49,14 +49,25 @@ location /cgi-bin/ {
} }
``` ```
Add to `/etc/nginx/sites-available/default`: Add to `/etc/nginx/sites-enabled/default`:
``` ```
server { 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;
} }
``` ```