Created
June 18, 2013 18:33
-
-
Save damiann/5808016 to your computer and use it in GitHub Desktop.
tasks for setting up new server
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
Prevent framing: | |
Debian/Ubuntu servers /etc/apache2/apache2.conf | |
Header always append X-Frame-Options SAMEORIGIN | |
or | |
nginx: | |
add_header X-Frame-Options SAMEORIGIN; | |
HTTP TRACE: | |
TraceEnable Off | |
Hide your versions: | |
ServerSignature Off | |
ServerTokens ProductOnly | |
or | |
nginx: | |
server_tokens off; | |
# Install HttpHeadersMoreModule first for this one | |
more_set_headers 'Server: Nginx'; | |
or | |
/etc/php5/apache2/php.ini on Debian/Ubuntu servers | |
expose_php Off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment