mirror of https://github.com/infosecn1nja/HELK.git
testing nginx docker integration
parent
a103e1ccd4
commit
ec7e49b10d
|
@ -13,17 +13,12 @@ services:
|
|||
- ./elasticsearch/docker/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
||||
environment:
|
||||
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
|
||||
ports:
|
||||
- "9200:9200"
|
||||
- "9300:9300"
|
||||
networks:
|
||||
- helk
|
||||
kibana:
|
||||
image: docker.elastic.co/kibana/kibana:5.4.1
|
||||
volumes:
|
||||
- ./kibana/docker/kibana.yml:/usr/share/config/kibana/kibana.yml
|
||||
ports:
|
||||
- "5601:5601"
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
networks:
|
||||
|
@ -44,8 +39,8 @@ services:
|
|||
nginx:
|
||||
image: nginx:latest
|
||||
volumes:
|
||||
- ./nginx/docker/default:/etc/nginx/sites-available/default
|
||||
- ./nginx/docker/htpasswd.users:/etc/nginx/htpasswd.users
|
||||
- ./nginx/docker/nginx.conf:/usr/share/nginx/conf/nginx.conf
|
||||
- ./nginx/docker/htpasswd.users:/usr/share/nginx/htpasswd.users
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
server_name HELK;
|
||||
server_name localhost;
|
||||
|
||||
auth_basic "Restricted Access";
|
||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
||||
auth_basic_user_file /usr/share/nginx/htpasswd.users;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:5601;
|
Loading…
Reference in New Issue