mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-08-20 15:47:24 -04:00
Don't expose the status module
It won't be accessible anyway: the localhost address is the one inside the container...
This commit is contained in:
parent
df984c92ad
commit
1c001cf93a
@ -40,15 +40,6 @@ http {
|
|||||||
access_log /dev/stdout;
|
access_log /dev/stdout;
|
||||||
error_log /dev/stderr info;
|
error_log /dev/stderr info;
|
||||||
|
|
||||||
# Don't log status polls
|
|
||||||
location /nginx_status {
|
|
||||||
stub_status on;
|
|
||||||
access_log off;
|
|
||||||
allow 127.0.0.1;
|
|
||||||
allow ::1;
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Configuration files don't exist
|
# Configuration files don't exist
|
||||||
location ^~ \.conf$ {
|
location ^~ \.conf$ {
|
||||||
return 404;
|
return 404;
|
||||||
|
Loading…
Reference in New Issue
Block a user