Skip to content

Commit ca8dd00

Browse files
Update nginx.conf
1 parent be6559e commit ca8dd00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ http {
8585
return 404;
8686
}
8787

88-
# Deny access to . files, for security
89-
location ~ /\. {
88+
# Deny access to .env file, for security
89+
location ~ \.env {
9090
log_not_found off;
9191
deny all;
9292
}

0 commit comments

Comments
 (0)