Advertisement
Guest User

sample nginx kibana

a guest
Feb 23rd, 2016
711
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. r {
  2. listen 80;
  3.  
  4. server_name 192.168.169.159;
  5.  
  6. listen 443 ssl;
  7.  
  8. ssl_certificate /etc/nginx/ssl/nginx.crt;
  9. ssl_certificate_key /etc/nginx/ssl/nginx.key;
  10.  
  11.  
  12. if ($scheme = http) {
  13. return 301 https://$server_name$request_uri;
  14. }
  15.  
  16. location / {
  17. proxy_pass http://192.168.169.160:5601/;
  18.  
  19.  
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement