4 Commits

Author SHA1 Message Date
c39acf4a68 1.0.9 2019-11-01 13:15:48 +01:00
e32cf42a65 fix(core): update 2019-11-01 13:15:47 +01:00
6f4bafada1 1.0.8 2019-11-01 13:10:35 +01:00
0e15004997 fix(core): update 2019-11-01 13:10:35 +01:00
3 changed files with 6 additions and 23 deletions

2
package-lock.json generated
View File

@@ -1,5 +1,5 @@
{
"name": "ht-docker-elk",
"version": "1.0.7",
"version": "1.0.9",
"lockfileVersion": 1
}

View File

@@ -1,6 +1,6 @@
{
"name": "ht-docker-elk",
"version": "1.0.7",
"version": "1.0.9",
"description": "elastic stack with full basic authentication",
"main": "index.js",
"scripts": {

View File

@@ -1,25 +1,12 @@
server {
listen [::]:80 default_server;
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
listen [::]:3000;
listen 3000;
server_name _;
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
ssl on;
ssl_certificate /etc/nginx/ssl/kibana.crt;
ssl_certificate_key /etc/nginx/ssl/kibana.key;
location / {
proxy_pass http://127.0.0.1:5601;
proxy_http_version 1.1;
@@ -31,18 +18,14 @@ server {
}
server {
listen [::]:9201 ssl http2;
listen 9201 ssl http2;
listen [::]:9201;
listen 9201;
server_name _;
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
ssl on;
ssl_certificate /etc/nginx/ssl/kibana.crt;
ssl_certificate_key /etc/nginx/ssl/kibana.key;
location / {
proxy_pass http://127.0.0.1:9200;
proxy_http_version 1.1;