Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ef21de6739 | |||
| e217fc48f1 | |||
| 5d87422fa3 | |||
| 596fd929fa | |||
| 06bdb924a1 | |||
| 8fc700fd85 | |||
| c39acf4a68 | |||
| e32cf42a65 |
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.8",
|
"version": "1.0.12",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-elk",
|
"name": "ht-docker-elk",
|
||||||
"version": "1.0.8",
|
"version": "1.0.12",
|
||||||
"description": "elastic stack with full basic authentication",
|
"description": "elastic stack with full basic authentication",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ elastic stack with full basic authentication
|
|||||||
This image runs the elastic stack and supports full basic authentication
|
This image runs the elastic stack and supports full basic authentication
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -d --name elstack -p 80:80 -p 443:443 -p 9200:9201 -e SSL=true -e ELSK_USER="anyuser" -e ELSK_PASS="anypass" hosttoday/ht-docker-elk
|
docker run --rm -d --name elstack -p 3000:3000 -p 9200:9201 -e SSL=true -e ELSK_USER="anyuser" -e ELSK_PASS="anypass" registry.gitlab.com/hosttoday/ht-docker-elk
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|||||||
@@ -1,17 +1,8 @@
|
|||||||
server {
|
|
||||||
listen [::]:80 default_server;
|
|
||||||
listen 80 default_server;
|
|
||||||
|
|
||||||
server_name _;
|
|
||||||
|
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:3000;
|
listen [::]:3000;
|
||||||
listen 3000;
|
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;
|
||||||
@@ -27,10 +18,10 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:9201;
|
listen [::]:3001;
|
||||||
listen 9201;
|
listen 3001;
|
||||||
|
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user