Skip to content

Instantly share code, notes, and snippets.

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

Thibaud Chauviere tchauviere

🏠
Working from home
View GitHub Profile
<VirtualHost SERVER_IP:443>
ServerName SERVER_DOMAIN
DocumentRoot SERVER_ROOT_PATH
ProxyPass /.well-known/acme-challenge/ !
ProxyPassReverse /.well-known/acme-challenge/ !
RedirectMatch ^/(?!.well-known)(.*)$ SERVER_DOMAIN/$1
ProxyPass / https://NODEHOST:NODEHOSTPORT/
ProxyPassReverse / https://NODEHOST:NODEHOSTPORT/
@tchauviere
tchauviere / gist:05aa892af569209c3200d9b17fd3aa79
Created October 11, 2019 17:46 — forked from simonw/gist:92481
Compile nginx standalone without root access
# Compile nginx standalone without root access
mkdir ~/installed
mkdir ~/installed/nginx
mkdir ~/src
cd ~/src
# PCRE dependency - we'll compile against this statically
wget http://kent.dl.sourceforge.net/sourceforge/pcre/pcre-7.8.tar.gz
tar -xzvf pcre-7.8.tar.gz
[user]
name = Your Name
email = your-github-email@tiscali.fr
[color]
ui = auto
[alias]
st = status
stt = status --ignore-submodules
# À mettre dans ~/.gitconfig ou ~/.config/git/config
[user]
name = Ton Nom
email = ton@email.tld
[color]
ui = auto
[alias]
st = status
ci = commit
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'