Make actual robots.txt files end with .txt so the mime-type is right since apache Alias will preserve the mime-type of the file it points to
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
77644a5183
commit
3c2e614eeb
7 changed files with 2 additions and 2 deletions
|
@ -59,13 +59,13 @@
|
|||
- name: And lastly, the robots.txt file
|
||||
template: >
|
||||
src={{item}}
|
||||
dest=/srv/web/robots.txt.{{site_name}}
|
||||
dest=/srv/web/{{site_name}}-robots.txt
|
||||
mode=0644
|
||||
owner=root
|
||||
group=root
|
||||
setype=httpd_sys_content_t
|
||||
with_first_found:
|
||||
- robots/robots.txt.{{site_name}}
|
||||
- robots/{{site_name}}-robots.txt
|
||||
- robots/robots.txt
|
||||
notify:
|
||||
- reload proxyhttpd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue