Uno scrittoio digitale …

4 dicembre 2015

tig, another front-end for git

Archiviato in: Senza categoria — Tag:, — admin @ 12:46

doc
tig-the-ncurses-front-end-to-git

available feature
> tree view
> blame
> search for commit messages
> see history of a certain file/path

3 dicembre 2015

Reverse-proxying web applications with nginx

Archiviato in: Senza categoria — Tag:, , — admin @ 23:58

Have nginx
> sudo apt-get install nginx

Define your nginx config, e.g. at /etc/nginx/conf.d/reverse-proxy.conf:

server {
  listen 127.0.0.1;

  location /foo/ {
    proxy_pass https://www.example.com/;
  }
}

Reload your config
> sudo service nginx reload
Done.

Visit http://localhost/foo/ and you’ll see results of https://www.example.com/.

INFO:
read this about reverse/forward proxy

Funziona con WordPress