Browse Source

Merge pull request 'init(初始化): 🎉' (#9) from cjl-dev into master

Reviewed-on: http://120.26.116.243:3000/root/alert-front/pulls/9
xiaojinfei-patch-1
root 2 months ago
parent
commit
94adc36544
  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