33 lines
933 B
Nginx Configuration File
33 lines
933 B
Nginx Configuration File
server {
|
|
listen 80 default_server;
|
|
server_name clean-proxys.thetempleofdoom.com _;
|
|
|
|
client_max_body_size 5m;
|
|
|
|
location /static/ {
|
|
alias /opt/pleiades/static/;
|
|
expires 7d;
|
|
}
|
|
|
|
# MCP server (streamable-http) for agent clients
|
|
location /mcp {
|
|
proxy_pass http://127.0.0.1:8090;
|
|
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_buffering off;
|
|
proxy_cache off;
|
|
proxy_read_timeout 3600s;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:5000;
|
|
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;
|
|
}
|
|
}
|