This commit is contained in:
Bastian Wagner
2026-06-17 14:08:15 +02:00
parent 8151a0f7cd
commit fac7309116
14 changed files with 973 additions and 16 deletions

View File

@@ -33,6 +33,19 @@ server {
proxy_pass http://127.0.0.1:3000;
}
location = /mcp {
proxy_http_version 1.1;
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:3001;
}
location / {
add_header Cache-Control "no-store";
try_files $uri $uri/ /index.html;

View File

@@ -16,6 +16,18 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
[program:mcp]
directory=/app/api
command=node dist/mcp-http-main.js
user=node
autorestart=true
stopasgroup=true
killasgroup=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
[program:nginx]
command=nginx -g "daemon off;"
autorestart=true