Files
wordloop/deploy/nginx-production.conf
T
John bd7635986a Initial commit: WordLoop 单词学习应用
Vue 前端 + FastAPI 后端,含部署脚本与词典数据。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 14:30:53 -07:00

29 lines
710 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# WordLoop 生产 — w.tkmind.cn80 + 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;
}