# 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; }