Created
October 21, 2013 16:48
-
-
Save churnd/7087018 to your computer and use it in GitHub Desktop.
kibana_nginx
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
# | |
# 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