💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
https://blog.csdn.net/rulaixiong/article/details/108220032?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162884142816780274170527%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162884142816780274170527&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v29-28-108220032.ecpm_v1_rank_v29&utm_term=thinkphp6%E9%A1%B9%E7%9B%AE&spm=1018.2226.3001.4187 前后端分离开发完毕打包后,面临上线部署问题,一种做法是前后端分开来部署。前端nginx服务器配置反向代理;另外一种做法是把打包好的前端代码放置ThinkPHP框架Public目录下,默认访问index.html即可 location /admin/ { proxy_set_header Host $proxy_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-NginX-Proxy true; proxy_pass 'http://admin.caorulai.com/'; } ———————————————— 版权声明:本文为CSDN博主「buddha程序员」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/rulaixiong/article/details/108220032 # 前端vue与后端Thinkphp在服务器的部署 https://blog.csdn.net/qq_35465132/article/details/78986675?ops_request_misc=&request_id=&biz_id=102&utm_term=vue%E5%89%8D%E7%AB%AF%EF%BC%8Cthinkphp6%E5%90%8E%E5%8F%B0%EF%BC%8C%E9%83%A8%E7%BD%B2&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-1-.ecpm_v1_rank_v29&spm=1018.2226.3001.4187