修改cicd为gitea action,简化操作

This commit is contained in:
编码猿
2025-10-07 00:59:16 +08:00
parent 7fb0f60ec0
commit cb8f7a4682
12 changed files with 235 additions and 128 deletions

View File

@@ -0,0 +1,14 @@
server {
listen 80;
server_name *.ddd.com;
location /app-product/ {
alias /usr/share/nginx/html/app-product/;
try_files $uri $uri/ /app-product/index.html;
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
}
}