# md.tkmind.cn — memind_adm 独立管理端(替换原 Memind /ops Vite dev) # # 前置:103 服务器 remote_restart.sh 已启动 # Admin API: 127.0.0.1:8085 # vite preview: 127.0.0.1:5174(根路径 base=/) # # 前端 fetch 使用根路径 /auth、/admin-api、/api;nginx 需单独反代到 Admin API。 # Analytics / SEO·GEO 看板:https://md.tkmind.cn/analytics/seo-geo server { listen 443 ssl http2; server_name md.tkmind.cn; # ssl_certificate ...; location /auth { proxy_pass http://127.0.0.1:8085; proxy_http_version 1.1; 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; } location /admin-api { proxy_pass http://127.0.0.1:8085; proxy_http_version 1.1; 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; } location /api { proxy_pass http://127.0.0.1:8085; proxy_http_version 1.1; 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; } location / { proxy_pass http://127.0.0.1:5174; proxy_http_version 1.1; 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; } }