This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Your Name | |
email = your-github-email@tiscali.fr | |
[color] | |
ui = auto | |
[alias] | |
st = status | |
stt = status --ignore-submodules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# À 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' |