Skip to content

Instantly share code, notes, and snippets.

@lucasRolff

lucasRolff/nginx.conf Secret

Created Apr 30, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.