@ -1,13 +1,13 @@
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
types {
application/javascript js mjs;
text/css css;
text/html html;
sendfile on;
server {
@ -32,7 +32,7 @@ http {
# ✅ 新增:代理 API 请求到后端容器
# 代理 API 请求到后端容器
location /api/ {
proxy_pass http://127.0.0.1:48080;
proxy_set_header Host $host;