Close down apache-status from the public
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
22cd1bc504
commit
5a5dc9d9b0
2 changed files with 7 additions and 0 deletions
|
@ -2,4 +2,10 @@ ExtendedStatus on
|
||||||
|
|
||||||
<Location /apache-status>
|
<Location /apache-status>
|
||||||
SetHandler server-status
|
SetHandler server-status
|
||||||
|
<RequireAny>
|
||||||
|
Require ip 127.0.0.1
|
||||||
|
Require ip ::1
|
||||||
|
Require host localhost
|
||||||
|
Require valid-user
|
||||||
|
</RequireAny>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
|
@ -85,6 +85,7 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- apache
|
- apache
|
||||||
|
- apachestatus
|
||||||
|
|
||||||
- name: setup logrotate to our needs
|
- name: setup logrotate to our needs
|
||||||
copy: src="{{ files }}/httpd/httpd.logrotate" dest=/etc/logrotate.d/httpd
|
copy: src="{{ files }}/httpd/httpd.logrotate" dest=/etc/logrotate.d/httpd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue