Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 27d8cb6

Browse files
authoredNov 19, 2024··
Prevent indexing of DOMjudge instance
See: DOMjudge/domjudge#2654
1 parent b7274db commit 27d8cb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎provision-contest/ansible/roles/domserver/templates/nginx-domjudge-inner.j2

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ add_header X-Frame-Options "DENY";
6767
add_header Referrer-Policy "same-origin";
6868
add_header X-Content-Type-Options "nosniff";
6969
add_header X-XSS-Protection "1; mode=block";
70+
add_header X-Robots-Tag "none" always;
7071

7172
error_log /var/log/nginx/domjudge.log;
7273
access_log /var/log/nginx/domjudge.log dj_access;

0 commit comments

Comments
 (0)
Please sign in to comment.