Skip to content
Snippets Groups Projects
Commit e76f8083 authored by nimrod's avatar nimrod
Browse files

Add Kibana and Elasticsearch.

parent 34a176ef
Branches
No related tags found
No related merge requests found
map $host $es { default elasticsearch; }
server {
listen 80;
listen [::]:80;
server_name elasticsearch.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
include snippets/redirect-https.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name elasticsearch.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/ssl.conf;
location / {
proxy_pass http://$es:9200$request_uri;
proxy_http_version 1.1;
include snippets/allow-shore-ips.conf;
}
}
map $host $kibana { default kibana; }
server {
listen 80;
listen [::]:80;
server_name kibana.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
include snippets/redirect-https.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name kibana.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/ssl.conf;
include snippets/vouch.conf;
location / {
proxy_pass http://$kibana:5601$request_uri;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
}
}
...@@ -11,7 +11,9 @@ services: ...@@ -11,7 +11,9 @@ services:
aliases: aliases:
- *hostname - *hostname
- code.shore.co.il - code.shore.co.il
- elasticsearch.shore.co.il
- git.shore.co.il - git.shore.co.il
- kibana.shore.co.il
- lam.shore.co.il - lam.shore.co.il
- mta-sts.shore.co.il - mta-sts.shore.co.il
- sogo.shore.co.il - sogo.shore.co.il
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment