cleanup 2

This commit is contained in:
Mykhailo Svishchov
2026-03-04 23:50:35 +02:00
parent da1649d3cd
commit bfdd7581fe
221 changed files with 619 additions and 649 deletions

View File

@@ -1,4 +1,4 @@
upstream lottery_backend {
upstream honey_backend {
# Primary backend (port 8080)
server 127.0.0.1:8080 max_fails=3 fail_timeout=30s;
# Standby backend (port 8082) - used during rolling updates
@@ -23,7 +23,7 @@ server {
# API endpoints
location /api/ {
proxy_pass http://lottery_backend;
proxy_pass http://honey_backend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
@@ -41,7 +41,7 @@ server {
# Actuator endpoints (for health checks)
location /actuator/ {
proxy_pass http://lottery_backend;
proxy_pass http://honey_backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@@ -51,7 +51,7 @@ server {
# Ping endpoint
location /ping {
proxy_pass http://lottery_backend;
proxy_pass http://honey_backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
}