chore: remove mm.tkmind.cn references

This commit is contained in:
john
2026-07-07 10:01:32 +08:00
parent cf04e73f51
commit 0d6258d00a
7 changed files with 86 additions and 138 deletions
-52
View File
@@ -1,52 +0,0 @@
server {
listen 80;
server_name mm.tkmind.cn;
location /.well-known/acme-challenge/ {
root /opt/homebrew/var/www;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
http2 on;
server_name mm.tkmind.cn;
ssl_certificate /opt/homebrew/etc/nginx/ssl/mm.tkmind.cn.crt;
ssl_certificate_key /opt/homebrew/etc/nginx/ssl/mm.tkmind.cn.key;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:10m;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers off;
location ~ ^/api/(sessions/[^/]+/events|agent/runs/[^/]+/events)$ {
proxy_pass http://127.0.0.1:8081;
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;
proxy_set_header Connection "";
proxy_buffering off;
proxy_cache off;
gzip off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
add_header X-Accel-Buffering no always;
}
location / {
proxy_pass http://127.0.0.1:8081;
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;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
}