Skip to content

Instantly share code, notes, and snippets.

@lucasRolff
Created April 30, 2017 10:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lucasRolff/c7ea13305e9bff40eb6729246cd7eb39 to your computer and use it in GitHub Desktop.
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