/nginx.conf Secret
Created
April 30, 2017 10:37
Star
You must be signed in to star a gist
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