Can a Rails app and a Jekyll blog live together?

后端 未结 4 771
悲&欢浪女
悲&欢浪女 2021-01-30 11:35

I have a Rails app and I want to add a blog feature; my idea is to use Jekyll which is a great blog tool, I just need to figure out if it\'s possible to use http://my.app.com/bl

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 11:49

    Would you be using nginx to reverse-proxy the Rails app? If so, you should be able to just carve out an exception so /blog is served directly by nginx instead of forwarded to Rails.

提交回复
热议问题