Skip to content

Commit ab805e2

Browse files
alejandromumokpsherva
authored andcommitted
nginx: added robots.txt rule
1 parent f2887a4 commit ab805e2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

invenio/templates/configurations/nginx.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,10 @@ data:
112112
alias "{{ .Values.nginx.assets.location }}";
113113
autoindex off;
114114
}
115+
116+
# Robots.txt file is served by nginx.
117+
location /robots.txt {
118+
alias {{ .Values.nginx.assets.location }}/robots.txt;
119+
autoindex off;
120+
}
115121
}

0 commit comments

Comments
 (0)