Hi Victor, thank you for your template.
I'm having an issue when I try to make it work on production.
Testing, it works fine, I run jekyll serve and the website runs properly in local.
However, when I try to make it work in production, I run into a lot of issues. I'm running Nginx, the rootdir is /mnt/efs/blog. And the index is index _site/index.html otherwise, if I don't change it, it will read the first index.html file that finds and the content is:
---
layout: default
---
So far this works, however when I click on a link, it gives a 404 error. I checked my log and it's looking for the posts in the root.
Take a look at the log, please:
2018/12/20 15:05:44 [error] 30796#30796: *4677 "/mnt/efs/blog/sharding/_site/index.html" is not found (2: No such file or directory), client: XXXXX, server: lcasaretto.com, request: "GET /sharding/ HTTP/1.1", host: "lcasaretto.com", referrer: "http://lcasaretto.com/"
Hi Victor, thank you for your template. I'm having an issue when I try to make it work on production. Testing, it works fine, I run
jekyll serve
and the website runs properly in local.However, when I try to make it work in production, I run into a lot of issues. I'm running Nginx, the rootdir is
/mnt/efs/blog
. And theindex
isindex _site/index.html
otherwise, if I don't change it, it will read the firstindex.html
file that finds and the content is:So far this works, however when I click on a link, it gives a 404 error. I checked my log and it's looking for the posts in the
root
. Take a look at the log, please:Can you please provide help? Thanks.