well,
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-11-02 18:15:08 +10:00
parent 477ce95b92
commit b0e352eac6

View File

@@ -428,4 +428,32 @@ server {
location / {
proxy_pass http://ceph_rgw_backend;
}
}
upstream ceph_dashboard_backend {
# Сюда прописываем те ноды, где у вас запущены и могут быть активны ceph-mgr
# Порт HTTP 8080 (как мы настроили в самом начале)
server 192.168.0.71:8080 max_fails=3 fail_timeout=10s;
server 192.168.0.72:8080 max_fails=3 fail_timeout=10s;
server 192.168.0.73:8080 max_fails=3 fail_timeout=10s;
server 192.168.0.75:8080 max_fails=3 fail_timeout=10s;
server 192.168.0.89:8080 max_fails=3 fail_timeout=10s;
}
server {
listen 80;
server_name ceph-pve.guaranteedstruggle.host; # Имя для админки
location / {
proxy_pass http://ceph_dashboard_backend;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# Дашборд использует SSE (Server-Sent Events) для графиков, отключаем буфер
proxy_buffering off;
proxy_read_timeout 3600s;
}
}