Remove trailing slash from location blocks so /tutorials and /tutorials/ both work