-
-
Save lucasRolff/c7ea13305e9bff40eb6729246cd7eb39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen 443 ssl http2; | |
ssl_certificate /etc/nginx/ssl/minio.box.com.crt; | |
ssl_certificate_key /etc/nginx/ssl/minio.box.com.key; | |
server_name minio.box.com; | |
location / { | |
try_files /index.html @minio; | |
} | |
location @minio { | |
proxy_buffering off; | |
proxy_set_header Host $http_host; | |
proxy_pass http://localhost:9000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment