Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f1e16f471 | |||
| 772c3a10ea | |||
| b03c2fb16e | |||
| 2acd511608 | |||
| ef21de6739 | |||
| e217fc48f1 | |||
| 5d87422fa3 | |||
| 596fd929fa | |||
| 06bdb924a1 | |||
| 8fc700fd85 | |||
| c39acf4a68 | |||
| e32cf42a65 | |||
| 6f4bafada1 | |||
| 0e15004997 | |||
|
|
877fd08bae | ||
|
|
5fc8b1e769 | ||
|
|
5dad6bcfb8 | ||
|
|
2505abdf7c |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "ht-docker-elk",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.14",
|
||||
"lockfileVersion": 1
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "ht-docker-elk",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.14",
|
||||
"description": "elastic stack with full basic authentication",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "echo \"Error: no test specified\"",
|
||||
"build": "echo \"Not needed for now\""
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -18,6 +18,11 @@ elastic stack with full basic authentication
|
||||
|
||||
## Usage
|
||||
|
||||
This image runs the elastic stack and supports full basic authentication
|
||||
|
||||
```
|
||||
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
|
||||
We are always happy for code contributions. If you are not the code contributing type that is ok. + Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: [Contribute monthly :)](https://lossless.link/contribute)
|
||||
|
||||
@@ -1,25 +1,10 @@
|
||||
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;
|
||||
|
||||
server_name _;
|
||||
listen [::]:3000 default_server;
|
||||
listen *:3000 default_server;
|
||||
|
||||
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 +16,12 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen [::]:9201 ssl http2;
|
||||
listen 9201 ssl http2;
|
||||
|
||||
server_name _;
|
||||
listen [::]:3001 default_server;
|
||||
listen *:3001 default_server;
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user