Configuring nginx to return a 404 when a URL matches a pattern February 6, 2023 by Tarik location /test/ { return 404; }