Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f4bafada1 | |||
| 0e15004997 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-elk",
|
"name": "ht-docker-elk",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-elk",
|
"name": "ht-docker-elk",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"description": "elastic stack with full basic authentication",
|
"description": "elastic stack with full basic authentication",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -8,18 +8,14 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:3000;
|
||||||
listen 443 ssl http2;
|
listen 3000;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
auth_basic "Restricted Access";
|
auth_basic "Restricted Access";
|
||||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
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 / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:5601;
|
proxy_pass http://127.0.0.1:5601;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@@ -31,18 +27,14 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:9201 ssl http2;
|
listen [::]:9201;
|
||||||
listen 9201 ssl http2;
|
listen 9201;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
auth_basic "Restricted Access";
|
auth_basic "Restricted Access";
|
||||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
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 / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:9200;
|
proxy_pass http://127.0.0.1:9200;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
Reference in New Issue
Block a user