minio / sidekick

High Performance HTTP Sidecar Load Balancer
GNU Affero General Public License v3.0
546 stars 82 forks source link

virtual-host requests #63

Closed s7thamon closed 2 years ago

s7thamon commented 2 years ago

Is it possible to use sidekick with virtual-host-style requests? This is outlined under the Domain section in https://docs.min.io/docs/minio-server-configuration-guide.html

Unfortunately using synology in an attempt to backup to minio via sidekick is not cooperating without this functionality. DNS records have been setup for the wildcard CNAME but still unable to get this to work.

harshavardhana commented 2 years ago

You can run sidekick to do whatever way you want. It will preserve the incoming Host header as long as your backend S3 service supports virtual host style.

Given that you can make relevant changes to your DNS to route your requests to sidekick appropriately it will work fine.