135월 2016 by Truds No Comments [NGINX] userdir 추가 WWW [NGINX] userdir 추가 location ~ ^/~([^/]+)/(.+\.php|\.htm)$ { if (!-f /home/$1/www/$2) { rewrite ^ 404; } alias /home/$1/www/$2; } location ~ ^/~([^/]+)(/.*)?$ { alias /home/$1/www$2; autoindex on; } Read More