nginx/default_server: Hide status page by answering 403 always

dehydrated
Felix Stupp 4 years ago
parent 74a62e861f
commit e91f9d1a81
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -10,7 +10,7 @@ dependencies:
listen [::]:443 ssl http2 default_server; listen [::]:443 ssl http2 default_server;
directives: | directives: |
location / { location / {
return 404; return 403;
} }
location = /status { location = /status {
stub_status; stub_status;

Loading…
Cancel
Save