1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

nginx/templates/server.conf.j2: Comment out /cgi-bin access to /usr/lib

This commit is contained in:
A Holt 2021-07-30 10:16:03 -04:00 committed by GitHub
parent 2c70b48953
commit 0a4435b8d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,10 @@ server {
include fastcgi_params;
}
location /cgi-bin {
root /usr/lib;
}
# 2021-07-30: Security risk identified by @tim-moody
#location /cgi-bin {
# root /usr/lib;
#}
# if you don't like seeing all the errors for missing favicon.ico in root
location = /favicon.ico { access_log off; log_not_found off; }