Fix 405 on thumbnail uploads: move MinIO proxy above static asset regex
Nginx regex locations are evaluated in order — the static asset caching rule (.jpg, .png, etc.) was matching image upload URLs before the MinIO bucket proxy could handle them, causing PUT requests to return 405. Moved the /indeedhub-*/ proxy location to the top of the regex block. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,7 +20,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
CACHEBUST: "9"
|
||||
CACHEBUST: "10"
|
||||
VITE_USE_MOCK_DATA: "false"
|
||||
VITE_CONTENT_ORIGIN: ${FRONTEND_URL}
|
||||
VITE_INDEEHUB_API_URL: /api
|
||||
|
||||
Reference in New Issue
Block a user