# XIC Token ICO 预售网站 - TRON 版 - trc-ico.newassetchain.io # 部署日期: 2026-03-06 # 状态: 占位页面,等待 TRON 版本代码包 server { listen 80; server_name trc-ico.newassetchain.io; return 301 https://$host$request_uri; } server { listen 443 ssl; http2 on; server_name trc-ico.newassetchain.io; # SSL 证书(通配符证书,覆盖 *.newassetchain.io) ssl_certificate /root/ssl/_.newassetchain.io.pem; ssl_certificate_key /root/ssl/_.newassetchain.io.key; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-CHACHA20-POLY1305; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; # 网站根目录(TRON 版本独立目录) root /www/wwwroot/trc-ico.newassetchain.io; index index.html; # 静态资源缓存 location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ { expires 30d; add_header Cache-Control "public, immutable"; access_log off; } # SPA 路由支持 location / { try_files $uri $uri/ /index.html; } # 安全响应头 add_header X-Frame-Options "SAMEORIGIN" always; add_header X-Content-Type-Options "nosniff" always; add_header X-XSS-Protection "1; mode=block" always; add_header Referrer-Policy "strict-origin-when-cross-origin" always; # 访问日志 access_log /www/wwwlogs/trc-ico.newassetchain.io.access.log; error_log /www/wwwlogs/trc-ico.newassetchain.io.error.log; }