Skip to content

Instantly share code, notes, and snippets.

@xy4n
Created January 28, 2014 15:18
Show Gist options
  • Save xy4n/8669458 to your computer and use it in GitHub Desktop.
Save xy4n/8669458 to your computer and use it in GitHub Desktop.
stdin
location ~ ^/~(.+?)(/.*)?$ {
alias /home/$1/www$2;
index index.html index.htm;
autoindex on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment