Skip to content

Instantly share code, notes, and snippets.

View ppartarr's full-sized avatar
🏠
Working from home

Philippe Partarrieu ppartarr

🏠
Working from home
View GitHub Profile
@ppartarr
ppartarr / nginx.conf
Created February 10, 2018 12:13
Disable cache in nginx
# disable cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'private no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
etag off;
@ppartarr
ppartarr / multiple_rsa_keys
Created January 20, 2018 20:18
Fix multiple RSA keys problem for ssh in github
host github.com
hostname github.com
identityfile ~/.ssh/id_rsa_git
identitiesonly yes