User Tools

Site Tools


Sidebar


Tags Cloud
nginx_public_html

Apache-like ~/public_html access

nginx

location ~ ^/~(.+?)(/.*)?$ {
  alias /home/$1/public_html$2;
  index  index.html index.htm;
  autoindex off;
}
nginx_public_html.txt · Last modified: 2016/03/16 22:59 by kyxap