Skip to content

Commit

Permalink
nginx: added robots.txt rule
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo authored and kpsherva committed Nov 8, 2022
1 parent f2887a4 commit ab805e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions invenio/templates/configurations/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,10 @@ data:
alias "{{ .Values.nginx.assets.location }}";
autoindex off;
}
# Robots.txt file is served by nginx.
location /robots.txt {
alias {{ .Values.nginx.assets.location }}/robots.txt;
autoindex off;
}
}

0 comments on commit ab805e2

Please sign in to comment.