DOCS-910: Updating proxy and console configurations #921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Closes #910
So NGINX is not my strong suit, but enough of our users use it, so here we go.
minio/console#2818 <- added better support to subpath behaviors
I also recall there being an issue related to how the
upstream
blocks were configured, but I can't find it now. Fixed that while I was here.Finally, documented MINIO_DOMAINS, but did not fully test it as I don't have the stretch to set up apps and poke around that behavior.
Local environment
Set
/etc/hosts
to have the preferred main hostname for the server on both the VM and local machineSet nginx to proxy to
hostname/
andhostname/minio/ui
for the S3 API and Console API respectivelySet
MINIO_SERVER_URL
andMINIO_BROWSER_REDIRECT_URL
based on the new proxy URLsTested both Console and
mc
, was able to connect, create a bucket, copy an object, generate a presigned URL, andwget
the object using that URL.Staged
http://192.241.195.202:9000/staging/DOCS-910/linux/reference/minio-server/minio-server.html#envvar.MINIO_DOMAIN
http://192.241.195.202:9000/staging/DOCS-910/linux/reference/minio-server/minio-server.html#envvar.MINIO_BROWSER_REDIRECT_URL
http://192.241.195.202:9000/staging/DOCS-910/linux/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
http://192.241.195.202:9000/staging/DOCS-910/linux/integrations/setup-nginx-proxy-with-minio.html