更改nginx
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m30s

This commit is contained in:
Song367 2026-03-09 16:51:26 +08:00
parent 09a3fcb8d5
commit 0ea8beed09

View File

@ -17,11 +17,10 @@ http {
server {
listen 80;
server_name localhost;
# location = /scriptflow {
# return 301 /scriptflow/;
# }
location ^~ /scriptflow/ {
rewrite ^/scriptflow/(.*)$ /$1 break;
location = /scriptflow {
return 301 /scriptflow/;
}
location /scriptflow/ {
root /app;
index index.html;