ansible-roles/nginx/files/nginx/snippets/evolinux_server_custom
2022-01-20 10:44:02 +01:00

8 lines
246 B
Plaintext

# Evolinux custom configuration, to be used in all server blocks
location ~ /\.(inc|git|bak|env) {
# We don't want to let the client know a file exist on the server,
# so we return 404 "Not found" instead of 403 "Forbidden".
return 404;
}