release: bump version to 0.81.0
ci / backend (push) Waiting to run
ci / frontend (push) Waiting to run

This commit is contained in:
linkong committed 2026-11-30 19:39:29 +08:00
1 parent 6d310f4dbe
commit b3d2d9e9f1
156 files changed
+15910 -1385

No files matched your search

+81
View File
@@ -0,0 +1,81 @@
# Reference host Nginx virtual hosts for Planet production (3-domain split).
# Copy/adapt TLS certificate paths for your host before reloading Nginx.
# 1) Primary domain: Planet Earth desktop backend + download/doc redirects
server {
listen 443 ssl http2;
server_name rclaw.top;
# ssl_certificate /etc/letsencrypt/live/rclaw.top/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/rclaw.top/privkey.pem;
location = / {
return 302 https://gitea.rclaw.top/linkong/planet/releases/latest;
}
# Human-facing documentation & Earth handoff redirect cleanly to admin.rclaw.top
location = /docs {
return 302 https://admin.rclaw.top/docs;
}
location ^~ /docs/ {
return 302 https://admin.rclaw.top$request_uri;
}
location = /earth {
return 302 https://admin.rclaw.top/earth;
}
# Keep admin login, OpenAPI, and redoc off the primary public domain
location = /admin { return 404; }
location ^~ /admin/ { return 404; }
location = /openapi.json { return 404; }
location = /redoc { return 404; }
include /opt/planet/current/planet-api-locations.conf;
location / {
return 404;
}
}
# 2) Dedicated external / UE5 API domain: pure API + WebSocket only
server {
listen 443 ssl http2;
server_name api.rclaw.top;
# ssl_certificate /etc/letsencrypt/live/rclaw.top/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/rclaw.top/privkey.pem;
location = / {
return 302 https://api.rclaw.top/health/ready;
}
include /opt/planet/current/planet-api-locations.conf;
location / {
return 404;
}
}
# 3) Admin Console & Gatekeeper Docs SPA (backed by frontend Nginx on 127.0.0.1:3000)
server {
listen 443 ssl http2;
server_name admin.rclaw.top;
# ssl_certificate /etc/letsencrypt/live/rclaw.top/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/rclaw.top/privkey.pem;
location = / {
return 302 https://admin.rclaw.top/admin;
}
location / {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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;
}
}