build
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 5m57s

This commit is contained in:
编码猿
2025-10-06 21:49:13 +08:00
parent 7dde81a97c
commit 850a5fb27a
4 changed files with 147 additions and 112 deletions

13
nginx.conf Normal file
View File

@@ -0,0 +1,13 @@
server {
listen 80;
server_name *.ddd.com;
location / {
alias /usr/share/nginx/html/;
try_files $uri $uri/ /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';
}
}