配置
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m3s

This commit is contained in:
Song367 2026-03-19 12:35:26 +08:00
parent 844ee38215
commit d73178c84d

View File

@ -19,8 +19,8 @@ http {
listen 80; listen 80;
server_name localhost; server_name localhost;
location /video_translate/api/ { location /api/ {
proxy_pass http://127.0.0.1:3000/api/; proxy_pass http://127.0.0.1:3000/video_translate/api/;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
@ -30,7 +30,7 @@ http {
proxy_send_timeout 600s; proxy_send_timeout 600s;
} }
location /video_translate/ { location / {
alias /app/dist/; alias /app/dist/;
index index.html; index index.html;
try_files $uri $uri/ /video_translate/index.html; try_files $uri $uri/ /video_translate/index.html;