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

This commit is contained in:
hogweed1
2026-11-02 01:26:40 +10:00
parent 1a0a33fefb
commit 477ce95b92

View File

@@ -399,4 +399,33 @@ server {
root /usr/share/angie/html;
}
}
upstream ceph_rgw_backend {
# Сюда вписываем все 6 ваших мини-ПК на порт 7480
server 192.168.0.71:7480 max_fails=3 fail_timeout=5s;
server 192.168.0.72:7480 max_fails=3 fail_timeout=5s;
server 192.168.0.73:7480 max_fails=3 fail_timeout=5s;
server 192.168.0.74:7480 max_fails=3 fail_timeout=5s;
server 192.168.0.75:7480 max_fails=3 fail_timeout=5s;
server 192.168.0.89:7480 max_fails=3 fail_timeout=5s; # Замените IP на точные, если отличаются
}
server {
listen 80; # Позже можно закрыть на 443 с сертификатом от acme.sh
server_name s3.guaranteedstruggle.host;
# Жизненно важные настройки для S3 паркетов и бэкапов
client_max_body_size 0; # Убираем лимит на размер загружаемых объектов в десятки ГБ
proxy_request_buffering off; # Отключаем буферизацию, чтобы файлы лились в Ceph потоком
proxy_buffering off;
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;
location / {
proxy_pass http://ceph_rgw_backend;
}
}