I hereby claim:
- I am miynat on github.
- I am selcuk (https://keybase.io/selcuk) on keybase.
- I have a public key ASBjwquY4UDblI68z-oiQ6ZNtZA-tXcTs56Vba6RaWBpLgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# nginx config for A+ SSL Labs rating as of 9-2014 | |
# Broad legacy compatibility including IE8/XP, Android 2.3+, openssl 0.9.8 clients | |
# Blocks most bot scans IP probes. | |
# | |
# *** Assumes: _HOSTNAME_ is replaced *** | |
# | |
# Includes OCSP stapling, HSTS Strict Transport security, | |
# session resumption, legacy backwards compatibility (XP, Android 2.3-4.3) | |
# | |
# Requires nginx 1.6.x. See: http://nginx.org/en/linux_packages.html, e.g.: |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
#!/bin/sh | |
mkdir -p ~/.vim/syntax/ | |
cd ~/.vim/syntax/ | |
wget http://www.vim.org/scripts/download_script.php?src_id=19394 | |
mv download_script.php\?src_id\=19394 nginx.vim | |
cat > ~/.vim/filetype.vim <<EOF | |
au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif | |
EOF |
# Basically the nginx configuration I use at konklone.com. | |
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
# | |
# To provide feedback, please tweet at @konklone or email [email protected]. | |
# Comments on gists don't notify the author. | |
# | |
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
server { |
#!/bin/bash | |
# | |
# PHP 5.4 Deprecated function checker | |
# | |
# Version: 0.0.3 | |
# | |
# Original Author: Michiel Roos <[email protected]> | |
# | |
# http://www.php.net/manual/de/migration54.incompatible.php | |
# http://www.php.net/manual/en/migration54.deprecated.php |