feat: package Beijing test deployment with HTTPS and preflight checks
This commit is contained in:
1 parent
ae749a1fe9
commit
c7278c00a6
33 files changed
+1153
-54
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user