mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Describe how to enable dir listings and link following.
This commit is contained in:
parent
e956455592
commit
666faf5a5a
1 changed files with 14 additions and 3 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue