Last active
January 2, 2023 13:04
-
-
Save LaurenceJJones/a4dbb06c06b34c14f62b241ce7ce5c21 to your computer and use it in GitHub Desktop.
nginx security.txt
This file contains hidden or 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
# security.txt | |
location /security.txt { | |
return 301 /.well-known/security.txt; | |
} | |
location = /.well-known/security.txt { | |
add_header Content-Type text/plain; | |
return 200 'Contact: mailto:[email protected]\nExpires: 2024-01-01T00:00:00.000Z'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment