Railway部署有办法塞主题吗 #37
Answered
by
zdz
HinataKato
asked this question in
Q&A
Railway部署有办法塞主题吗
#37
-
想了下应该只能自己在Project里另外弄一个Nginx然后反向代理? |
Beta Was this translation helpful? Give feedback.
Answered by
zdz
May 10, 2022
Replies: 3 comments 11 replies
-
推荐的另一种方法是你可以在 新建一个库,然后在
在
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
HinataKato
-
主题弄好了 这是效果图 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Railway
目前没看到自定义route
的功能, 可以直接把你的主题替换web
目录,然后重新编译构建部署推荐的另一种方法是你可以在
vercel.app
部署前端主题,前后端分离部署,用routes
指向后端,功能类似nginx
反代,优点是隐藏后端和主题保持在自己的库中,主题随便修改而无需改动server
。目前ssr.rs
也是使用这种方式。新建一个库,然后在
vercel
导入部署(googlevercel静态站点部署
),工程目录结构在
vercel…