My Catalog Search needs reindexing, but sudo bin/magento indexer:reindex catalogsearch_fulltext
won't work and returns the following:
Catalog Search index process unknown error:
<html>
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.16.1</center>
</body>
</html>
I've seen other questions with a similar issue to mine, but none with this particular error. My Magento is using Elasticsearch 7.
EDIT: I deleted one product and tried again, and got the following error:
Catalog Search index process unknown error:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot PUT /magento2_product_1_v1</pre>
</body>
</html>