Skip to content

Instantly share code, notes, and snippets.

@churnd
Created October 21, 2013 16:48
Show Gist options
  • Save churnd/7087018 to your computer and use it in GitHub Desktop.
Save churnd/7087018 to your computer and use it in GitHub Desktop.
kibana_nginx
#
# HTTPS server configuration
#
server {
listen 443;
server_name kibana.example.com;
access_log /var/log/nginx/kibana.log;
ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
location / {
#root html;
index index.html index.htm;
auth_basic "Here there be Dragons";
auth_basic_user_file /usr/share/nginx/html/.htpasswd;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment