feat: package Beijing test deployment with HTTPS and preflight checks

This commit is contained in:
wlx committed 2026-09-10 18:10:31 +08:00
1 parent ae749a1fe9
commit c7278c00a6
33 files changed
+1153 -54

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
server {
listen 80;
server_name ${MOYI_DOMAIN};
location = /nginx-health { access_log off; return 200 "ok\n"; }
location / { return 308 https://${MOYI_DOMAIN}$request_uri; }
}
server {
listen 443 ssl;
server_name ${MOYI_DOMAIN};
ssl_certificate /etc/nginx/certs/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_session_cache shared:MOYI:10m;
ssl_session_timeout 1d;
root /usr/share/nginx/html;
index index.html;
include /etc/nginx/moyi-routes.conf;
}