Intermittent nginx 502 when sending .docx with Enrichment header
source ../.env
curl -X POST \
--insecure \
$PRESSROOM_URL/compile/document \
-H "Pressroom-API-Key: $PRESSROOM_API_KEY" \
-H "Pressroom-Target-File-Extension: manuproj" \
-H "Pressroom-Enrich-Document-Metadata: true" \
-F "file=@input.docx"
File is attached.
The response code is 502. Body:
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.15.2</center>
</body>
</html>