Skip to content

Commit

Permalink
adding robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
bediverus authored Apr 1, 2024
1 parent f632674 commit 9aef1eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
server {
listen 80;
root /usr/share/nginx/html;


location /robots.txt {
return 200 "User-agent: *\nDisallow: /\n";
}

location / {
index index.html;
}
Expand Down

0 comments on commit 9aef1eb

Please sign in to comment.