nginx: Add snippet for custom server block config.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
c4fab71d7a
commit
168b0fa9b7
@ -0,0 +1,7 @@
|
||||
# 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;
|
||||
}
|
Loading…
Reference in new issue