初始化

This commit is contained in:
yml
2026-06-02 15:31:09 +08:00
commit 3ea0c3db7d
16 changed files with 2832 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://hfb_sys_backend:8080/api/;
proxy_http_version 1.1;
proxy_buffering off;
proxy_read_timeout 120s;
proxy_set_header Host $http_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;
}
}