Initial commit: WordLoop 单词学习应用
Vue 前端 + FastAPI 后端,含部署脚本与词典数据。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# WordLoop 生产 — w.tkmind.cn(80 + 443)
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name w.tkmind.cn;
|
||||
|
||||
root /root/wordloop/frontend/dist;
|
||||
index index.html;
|
||||
client_max_body_size 10m;
|
||||
|
||||
include /etc/nginx/conf.d/wordloop-locations.inc;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name w.tkmind.cn;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/w.tkmind.cn/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/w.tkmind.cn/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
root /root/wordloop/frontend/dist;
|
||||
index index.html;
|
||||
client_max_body_size 10m;
|
||||
|
||||
include /etc/nginx/conf.d/wordloop-locations.inc;
|
||||
}
|
||||
Reference in New Issue
Block a user