Skip to content

Instantly share code, notes, and snippets.

View patriksima's full-sized avatar
👨‍💻
Happy coding

Patrik Šíma patriksima

👨‍💻
Happy coding
View GitHub Profile
# Install dependencies
NGINX_VERSION=1.10.1 && \
OPENSSL_VERSION=1.0.1t && \
NPS_VERSION=1.11.33.3 && \
sudo apt-get install unzip build-essential checkinstall git libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \
mkdir -p ~/sources/ && \
@patriksima
patriksima / nginx.conf
Created June 29, 2017 11:29 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048