feat: add app update checks and standalone release publishing panel

This commit is contained in:
Codex
2026-10-24 13:50:42 +08:00
parent 437ed14dbe
commit 75e0b5587d
27 changed files with 1566 additions and 7 deletions
@@ -0,0 +1,38 @@
# Add inside the EXISTING app.glowtps.cn HTTP server listening on 10080.
# SafeLine continues to terminate public HTTPS on 443. No new public port.
# Reuse the site's existing real-IP configuration; do not duplicate it here.
location = /v1/updates/android {
proxy_pass http://127.0.0.1:18081;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_connect_timeout 5s;
proxy_read_timeout 15s;
proxy_cache off;
access_log off;
}
location = /update {
proxy_pass http://127.0.0.1:18081;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_connect_timeout 5s;
proxy_read_timeout 30s;
proxy_cache off;
access_log off;
}
location ^~ /update/ {
client_max_body_size 96k;
client_body_timeout 15s;
proxy_pass http://127.0.0.1:18081;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_connect_timeout 5s;
proxy_read_timeout 30s;
proxy_cache off;
access_log off;
}