fixed error in ELK yum repo url, added ELK helm mirror

This commit is contained in:
root
2023-08-03 13:21:04 +03:00
parent 8fa2dd0675
commit be873689ec
2 changed files with 12 additions and 2 deletions

View File

@@ -49,11 +49,11 @@
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://mirror.venya.tech/mirrors/grafana/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
## ELK (Elastic/Logstash/Kibana/etc.)
В зависимости от требуемой версии сервисов, замените соответствующие переменные в следующих блоках. Поддерживаются `5.x`/`6.x`/`7.x`/`8.x`:
В зависимости от требуемой версии сервисов, замените соответствующие переменные в следующих блоках:
### rpm
[elasticsearch-8.x]
name=Elasticsearch repository for 8.x packages
baseurl=https://mirror.venya.tech/mirrors/artifacts.elastic.co/packages/8.x/
baseurl=https://mirror.venya.tech/mirrors/artifacts.elastic.co/packages/8.x/yum/
gpgcheck=1
gpgkey=https://mirror.venya.tech/mirrors/artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
@@ -66,6 +66,10 @@
sudo apt-get install apt-transport-https
echo "deb https://mirror.venya.tech/mirrors/artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list
### Helm
https://mirror.venya.tech/mirrors/helm.elastic.co/
## Terraform
### Документация
https://terraform-registry.venya.tech/

View File

@@ -63,6 +63,12 @@
proxy_redirect $scheme://$host/ /packages/artifacts.elastic.co/;
}
location /mirrors/helm.elastic.co/ {
proxy_pass https://helm.elastic.co/;
proxy_ssl_server_name on;
proxy_redirect $scheme://$host/ /mirrors/helm.elastic.co/;
}
location /clamav/ {
proxy_pass https://packages.microsoft.com/clamav/;
proxy_ssl_server_name on;