Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

nginx proxy_passing http requests to a https only minio server that has bucket subdirectory as a uri

$
0
0
CONFIG: https://paste.ngx.cc/d2

does NOT work. no matter what I am doing. have re-studied all the official docs, nobody on freenode NGINX was able to give any suggestions, stackoverflow, rest google stuff. nothing, that helps!

bucket MINIO name: UPLOAD (policy: read & write)

http://crm.domain.local/upload/5a3375b043eb3.pdf LOADS! just fine, but it seems to be taken from local /upload/. WHY? no idea
http://crm.domain.local/upload/documents/TOaeOxyhWeoCgXoeXV0ZK7qxgdHMLdDb6Xs8u2cM.jpeg returns 404

DIRECTLY from nginx host:
# curl -I https://minio1.domain.local:9000/upload/documents/TOaeOxyhWeoCgXoeXV0ZK7qxgdHMLdDb6Xs8u2cM.jpeg
HTTP/1.1 200 OK

through haproxy & NGINX from nginx host:
# curl -I http://crm.domain.local/upload/documents/TOaeOxyhWeoCgXoeXV0ZK7qxgdHMLdDb6Xs8u2cM.jpeg
HTTP/1.1 404 Not Found

/upload/img.jpeg returns 200 either way

????????????????????????????????????????????????????????????????????????

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>