Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions stacker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ elif [[ "$COMMAND" = "site" ]] ; then
sudo service nginx reload

echo "Server block created and site ($SITE) is successfully installed over HTTPS!"
echo ""
echo "*********** Security Hardening / Tips *********** "
echo "Consider adding the following headers to your Nginx configuration to enhance the security of your site/app:"
echo "add_header X-Frame-Options SAMEORIGIN;"
echo "add_header X-Content-Type-Options nosniff;"
echo "add_header X-XSS-Protection "1; mode=block";"
echo "*********** End of suggested headers ***********"
# end of valid commands
else
echo "Err: Invalid command. Check the docs at $github_repo"
Expand Down