EPANET-Matlab-Class:水力模型与MATLAB控制逻辑无缝集成方案
2026/9/14 14:49:18
# n8n 路径重定向:将 /n8n 重定向到 /n8n/ location = /n8n { return 301 /n8n/; } # n8n 前端项目 (history 模式) location /n8n/ { alias /temp/n8n/; # 注意:使用 alias 而不是 root,并且路径末尾要加 / index index.html index.htm; try_files $uri $uri/ /n8n/index.html; # history 模式关键配置 add_header Content-Security-Policy upgrade-insecure-requests; }