Browse Source

init(初始化): 🎉

pull/9/head
Jiale 2 months ago
parent
commit
7d1dfb70c7
  1. 14
      scripts/nginx.conf

14
scripts/nginx.conf

@ -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;

Loading…
Cancel
Save