Created
February 25, 2023 12:33
-
-
Save joanfabregat/cfa4b1232b22b7b880b67766c7b8dec2 to your computer and use it in GitHub Desktop.
Servir robot.txt avec Nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /robots.txt { | |
return 200 "User-agent: *\\nDisallow: /"; | |
access_log off; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment