jenkins support
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit

This commit is contained in:
jiangh277
2025-12-26 21:02:15 +08:00
parent e4308aaeb5
commit 5889bf4333
3 changed files with 245 additions and 0 deletions

24
nginx.conf Normal file
View File

@@ -0,0 +1,24 @@
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html; # 用于处理 SPA 路由
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
}