diff --git a/ansible/roles/nginx/templates/default_server.conf b/ansible/roles/nginx/templates/default_server.conf index a22853df..27c3483c 100644 --- a/ansible/roles/nginx/templates/default_server.conf +++ b/ansible/roles/nginx/templates/default_server.conf @@ -28,9 +28,4 @@ server { return 302 $url; } - - location ~ ^/~(.+?)(/.*)?$ { - alias /home/$1/public$2; - autoindex on; - } }