nginx 配置
events { use epoll; worker_connections 65535; } http { server { listen 80; server_name xxx.com; return 301 https://xxx.com; } server { listen 443; server_name xxx.com; ssl on; ssl_certificate /etc/letsencrypt/live/0src.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/0src.com/privkey.pem; ssl_dhparam /etc/ssl/certs/dhparams.pem; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; charset utf-8; location / { proxy_pass http://127.0.0.1:8197; } } }
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步