Table of Contents

,

Apache-like ~/public_html access

nginx

location ~ ^/~(.+?)(/.*)?$ {
  alias /home/$1/public_html$2;
  index  index.html index.htm;
  autoindex off;
}