chore(deploy): add replication deployment assets
Build docker and publish / build (20.15.1) (push) Successful in 5m52s

This commit is contained in:
2026-04-28 05:22:48 -07:00
parent 0ec0e2b9d2
commit 68c7b0a8ec
12 changed files with 1077 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
upstream ppanel_backend {
server MASTER_SERVER_IP:8080 max_fails=3 fail_timeout=10s;
server REPLICA_SERVER_IP:8080 max_fails=3 fail_timeout=10s;
}
server {
listen 443 ssl http2;
server_name api.example.com;
location / {
proxy_pass http://ppanel_backend;
proxy_set_header Host $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;
}
}